Skip to content

Commit

Permalink
🔥 Removed storedLocationLocality const value
Browse files Browse the repository at this point in the history
Hijri day zero duration offset
Minor change in welcome message
Remove firestore script reference in web index
  • Loading branch information
iqfareez committed Apr 13, 2021
1 parent 679f756 commit c9ed3c7
Show file tree
Hide file tree
Showing 10 changed files with 21 additions and 27 deletions.
22 changes: 11 additions & 11 deletions .firebase/hosting.YnVpbGRcd2Vi.cache
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
favicon.png,1617721288643,972aab2dbd50a37478756fe495c39b76cf9e8a63e843c4e6c58d2414d47777e0
google7a6f1302e20d5bf2.html,1617721288643,4c199d6aaa0596f427eae73f6730b332f46b8e8e301b1cce4e7a602f4b3f60da
manifest.json,1617721288656,10b2066c8fb0adb72d6aeefae1c3dadbf806815ce3910f7481e16a1be7f3db6f
assets/fonts/MaterialIcons-Regular.otf,1616100791559,0f68fedebd1cdda23d988dc25ac5e50b517322b79e04ed19e743bef2a4364d25
assets/packages/fluttertoast/assets/toastify.css,1613623213000,6afc6f35b72ca06962c0b9197750a2af6334c905331f080d8047b437ffa170b1
assets/packages/fluttertoast/assets/toastify.js,1613623213000,76b60b9795e3b1093a16956ede93215d4315c157c3fbc99de1483999c081eb89
assets/packages/font_awesome_flutter/lib/fonts/fa-brands-400.ttf,1608144285000,d11e6d527948ea38b3cb9b47e8cb3e89a009b061852012316476cf515cb3bcd9
assets/packages/font_awesome_flutter/lib/fonts/fa-regular-400.ttf,1608144285000,b0a2227b91cd14e8b560e6fda34676163b006e636581d5f94d991ab6d732b7b8
assets/packages/font_awesome_flutter/lib/fonts/fa-solid-900.ttf,1608144285000,7c82648fc63061e96fb61fda53e2431c15f589572d49c6e852e05b8497f3080c
favicon.png,1617721288643,972aab2dbd50a37478756fe495c39b76cf9e8a63e843c4e6c58d2414d47777e0
google7a6f1302e20d5bf2.html,1617721288643,4c199d6aaa0596f427eae73f6730b332f46b8e8e301b1cce4e7a602f4b3f60da
index.html,1617721996326,f479f20e6fdb19dd7f80339b52ba02ad068b97f465e323f0f934e5654d5e08ff
flutter_service_worker.js,1617721996914,483a799ab3cb033f02dade7c4bb36e44fe44abac0801e157c4efc5812180f234
manifest.json,1617721288656,10b2066c8fb0adb72d6aeefae1c3dadbf806815ce3910f7481e16a1be7f3db6f
version.json,1617721996101,0c67b0150d3970f5762648a6d2be9bc12359c7145451c086ebb3d7ec7561d328
assets/AssetManifest.json,1617721996309,75e173826b9c18ada0928e7edd76449b7d3c8e8c44dcbc8fe1a0c9c61963a022
assets/FontManifest.json,1617721996309,bf69dcabf1052b958c27e4eb5f1cce7fe4fa54b0246ee128fa94b33563fa0763
icons/Icon-192.png,1617721288644,429ac4b270a7cd25a78b2dbdfe849fa7613c83e38c0729c08339528219cd596f
icons/Icon-512.png,1617721288646,d25eadf2975242e5736d71d235abed5bc2be58179d66a7e95d5944e470fc03cb
static/logo-mpt.png,1617721288658,cfbfc8bd91ba3a9196e04812ddd34cd1ac373647875be7039e731611ec444413
assets/NOTICES,1617721996310,c0161da6804e11c795e5b9d52c34fe6c022559cd1c06e96c6bcf1c80698f69fa
assets/fonts/MaterialIcons-Regular.otf,1616100791559,0f68fedebd1cdda23d988dc25ac5e50b517322b79e04ed19e743bef2a4364d25
main.dart.js,1617721995489,e3e86c5d07b2a3427e15e3f740cb8bb19c65b8d6840aad19fb5835933a327dfd
index.html,1618297859455,0830d4cba470ebff887f6c4659c58f66e3a3d2ed151de241608f4d4f9fa4eb3f
version.json,1618297859078,1dde90418ef40aeb3ad038be9c3bdfcfcc6f5994dd4fff10311ce64c9ed231da
flutter_service_worker.js,1618297860071,98c1d823723e8c7202c55fab2b9c4c46a02d3b67888c13df816b4346f395079c
assets/AssetManifest.json,1618297859391,75e173826b9c18ada0928e7edd76449b7d3c8e8c44dcbc8fe1a0c9c61963a022
assets/FontManifest.json,1618297859391,bf69dcabf1052b958c27e4eb5f1cce7fe4fa54b0246ee128fa94b33563fa0763
assets/NOTICES,1618297859393,c0161da6804e11c795e5b9d52c34fe6c022559cd1c06e96c6bcf1c80698f69fa
main.dart.js,1618297858144,5b23789efd3e50e3b0572f1f807c9776851395b73e90e23a77b93c9daccf8ef6
4 changes: 2 additions & 2 deletions ios/Flutter/Generated.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ COCOAPODS_PARALLEL_CODE_SIGN=true
FLUTTER_TARGET=lib\main.dart
FLUTTER_BUILD_DIR=build
SYMROOT=${SOURCE_ROOT}/../build\ios
FLUTTER_BUILD_NAME=1.1.7
FLUTTER_BUILD_NUMBER=7
FLUTTER_BUILD_NAME=1.1.8
FLUTTER_BUILD_NUMBER=9
EXCLUDED_ARCHS[sdk=iphonesimulator*]=arm64 i386
DART_OBFUSCATION=false
TRACK_WIDGET_CREATION=false
Expand Down
4 changes: 2 additions & 2 deletions ios/Flutter/flutter_export_environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ export "COCOAPODS_PARALLEL_CODE_SIGN=true"
export "FLUTTER_TARGET=lib\main.dart"
export "FLUTTER_BUILD_DIR=build"
export "SYMROOT=${SOURCE_ROOT}/../build\ios"
export "FLUTTER_BUILD_NAME=1.1.7"
export "FLUTTER_BUILD_NUMBER=7"
export "FLUTTER_BUILD_NAME=1.1.8"
export "FLUTTER_BUILD_NUMBER=9"
export "DART_OBFUSCATION=false"
export "TRACK_WIDGET_CREATION=false"
export "TREE_SHAKE_ICONS=false"
Expand Down
1 change: 0 additions & 1 deletion lib/CONSTANTS.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ const kPayloadDebug = 'payloadDebug';
const kStoredGlobalIndex = "storedGlobalIndex";
const kStoredFirstRun = "storedFirstRunApp";
const kStoredTimeIs12 = "storedTimeFormat";
const kStoredLocationLocality = "storedLocationLocality";
const kStoredShowOtherPrayerTime = "storedshowothertime";
const kStoredApiPrayerCall = "storedApiPrayCall";
const kFontSize = "storedFontSize";
Expand Down
2 changes: 1 addition & 1 deletion lib/utils/copyAndShare.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import 'location/locationDatabase.dart';
class CopyAndShare {
static String getMessage({int type = 1}) {
var hijriToday =
HijriCalendar.fromDate(DateTime.now().subtract(Duration(days: 1)))
HijriCalendar.fromDate(DateTime.now().subtract(Duration.zero))
.toFormat('dd MMMM yyyy');
var dayFormat = DateFormat('EEEE').format(DateTime.now()).toUpperCase();
var dateFormat = DateFormat('dd MMMM yyyy').format(DateTime.now());
Expand Down
4 changes: 2 additions & 2 deletions lib/views/ZoneChooser.dart
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ class _LocationChooserState extends State<LocationChooser> {
return ScaffoldMessenger.of(context).showSnackBar(
SnackBar(
behavior: SnackBarBehavior.floating,
content: Text(
'Please update your location (if necessary) by tapping JHR 01 button above'),
content:
Text('Use the blue button on the top to update your location'),
duration: Duration(seconds: 7),
action: SnackBarAction(
label: 'Got it!',
Expand Down
3 changes: 1 addition & 2 deletions lib/views/appBody.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ import 'GetPrayerTime.dart';
import 'ZoneChooser.dart';

class AppBody extends StatelessWidget {
final _hijriToday =
HijriCalendar.fromDate(DateTime.now().add(Duration(days: -1)));
final _hijriToday = HijriCalendar.fromDate(DateTime.now().add(Duration.zero));
final _dayFormat = DateFormat('EEEE').format(DateTime.now());
final dateFormat = DateFormat('dd MMM yyyy').format(DateTime.now());

Expand Down
4 changes: 0 additions & 4 deletions lib/views/feedbackPage.dart
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ class _FeedbackPageState extends State<FeedbackPage> {
TextEditingController messageController = TextEditingController();

var prayApiCalled = GetStorage().read(kStoredApiPrayerCall) ?? 'no calls';
var locApiCalled = GetStorage().read(kStoredLocationLocality) ?? 'no calls';

@override
void initState() {
Expand All @@ -85,15 +84,12 @@ class _FeedbackPageState extends State<FeedbackPage> {
print('Pressed send');
if (_logIsChecked) {
feedbackToEmail.debugLogSetter('''
----------------------APP--------------------------
--
---------------------DEVICE---------------------
isWeb? $kIsWeb
Screen size ${MediaQuery.of(context).size.toString().substring(4)} DiP
PixRatio ${MediaQuery.of(context).devicePixelRatio}
Last prayer api called: $prayApiCalled ,
Location get: $locApiCalled ,
''');
}
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: App waktu solat seluruh Malaysia

publish_to: "none"

version: 1.1.7-web+7
version: 1.1.8-web+9

environment:
sdk: ">=2.7.0 <3.0.0"
Expand Down
2 changes: 1 addition & 1 deletion web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@

<!-- TODO: Add SDKs for Firebase products that you want to use
https://firebase.google.com/docs/web/setup#available-libraries -->
<script src="/__/firebase/8.2.9/firebase-firestore.js"></script>
<!-- <script src="/__/firebase/8.2.9/firebase-firestore.js"></script> -->
<script src="/__/firebase/8.2.9/firebase-analytics.js"></script>

<!-- Initialize Firebase -->
Expand Down

0 comments on commit c9ed3c7

Please sign in to comment.