diff --git a/lib/views/Settings part/AboutPage.dart b/lib/views/Settings part/AboutPage.dart index 012c839..4e0dc7f 100644 --- a/lib/views/Settings part/AboutPage.dart +++ b/lib/views/Settings part/AboutPage.dart @@ -48,7 +48,7 @@ class AboutAppPage extends StatelessWidget { padding: EdgeInsets.all(8.0), children: [ Text( - 'For dev (Api call history)', + 'Debug dialog (for dev)', textAlign: TextAlign.center, ), ListTile( @@ -96,7 +96,21 @@ class AboutAppPage extends StatelessWidget { ListTile( title: Text('Global location index'), subtitle: Text( - '${GetStorage().read(kStoredGlobalIndex)}')) + '${GetStorage().read(kStoredGlobalIndex)}')), + ListTile( + title: Text('Last update notification'), + subtitle: Text(GetStorage() + .read(kStoredLastUpdateNotif) + .toString()), + onLongPress: () { + Clipboard.setData(ClipboardData( + text: GetStorage() + .read(kStoredLastUpdateNotif) + .toString())) + .then((value) => Fluttertoast.showToast( + msg: 'Copied millis')); + }, + ), ], ), ), diff --git a/lib/views/Settings part/NotificationSettingPage.dart b/lib/views/Settings part/NotificationSettingPage.dart index 9819dd7..530cd4d 100644 --- a/lib/views/Settings part/NotificationSettingPage.dart +++ b/lib/views/Settings part/NotificationSettingPage.dart @@ -4,7 +4,6 @@ import 'package:flutter/material.dart'; import 'package:get_storage/get_storage.dart'; import '../../CONSTANTS.dart'; import '../../utils/cupertinoSwitchListTile.dart'; -import '../../utils/prayerName.dart'; class NotificationPageSetting extends StatefulWidget { @override diff --git a/pubspec.yaml b/pubspec.yaml index 0596a60..74407c9 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -3,7 +3,7 @@ description: App waktu solat seluruh Malaysia publish_to: "none" # Remove this line if you wish to publish to pub.dev -version: 1.12.61+32 +version: 1.12.65+33 environment: sdk: ">=2.7.0 <3.0.0"