Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix / Remove android.mawaqit.net backend #1396

Open
wants to merge 2 commits into
base: release-1.17.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ import 'package:mawaqit/src/pages/SplashScreen.dart';
import 'package:mawaqit/src/services/audio_manager.dart';
import 'package:mawaqit/src/services/FeatureManager.dart';
import 'package:mawaqit/src/services/mosque_manager.dart';
import 'package:mawaqit/src/services/settings_manager.dart';
import 'package:mawaqit/src/services/theme_manager.dart';
import 'package:mawaqit/src/services/user_preferences_manager.dart';
import 'package:path_provider/path_provider.dart';
Expand Down Expand Up @@ -67,7 +66,6 @@ class MyApp extends StatelessWidget {
ChangeNotifierProvider(create: (context) => ThemeNotifier()),
ChangeNotifierProvider(create: (context) => AppLanguage()),
ChangeNotifierProvider(create: (context) => MosqueManager()),
ChangeNotifierProvider(create: (context) => SettingsManager()),
ChangeNotifierProvider(create: (context) => AudioManager()),
ChangeNotifierProvider(create: (context) => FeatureManager(context)),
ChangeNotifierProvider(create: (context) => UserPreferencesManager(), lazy: false),
Expand Down
10 changes: 10 additions & 0 deletions lib/src/const/constants.dart
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,13 @@ abstract class SystemFeaturesConstant {
static const String kHdmi = 'android.hardware.hdmi';
static const String kEthernet = 'android.hardware.ethernet';
}

abstract class MawaqitBackendSettingsConstant {
static const String kSettingsTitle = "Mawaqit";
static const String kSettingsShare =
"Download Mawaqit\r\nAndroid:\r\nhttps:\/\/play.google.com\/store\/apps\/details?id=com.mawaqit.admin\r\niOS:\r\nhttps:\/\/apps.apple.com\/fr\/app\/mawaqit-prayer-times-mosque\/id1460522683\r\n";
static const String kSettingsAndroidUserAgent =
"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/95.0.4638.69 Safari\/537.36";
static const String kSettingsIosUserAgent =
"Mozilla\/5.0 (iPhone; CPU iPhone OS 14_5 like Mac OS X) AppleWebKit\/605.1.15 (KHTML, like Gecko) CriOS\/90.0.4430.78 Mobile\/15E148 Safari\/604.1";
}
363 changes: 0 additions & 363 deletions lib/src/elements/HorizontalList.dart

This file was deleted.

Loading
Loading