Skip to content

Commit

Permalink
Fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
aandrew-me committed Mar 12, 2023
1 parent 2887d8c commit 6a6a401
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ Future<void> initializeService() async {
void onDidReceiveNotificationResponse(
NotificationResponse notificationResponse) async {
print("Clicked on notification");
stopAlarm();
}

await flutterLocalNotificationsPlugin.initialize(initializationSettings,
Expand Down Expand Up @@ -163,7 +164,6 @@ class _MyAppState extends State<MyApp> {
service.startService();
} else {
service.invoke("stopService");
stopAlarm();
}
print("Changing service status to $serviceEnabled");
await storage.setString("serviceEnabled", jsonEncode(serviceEnabled));
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
# In Windows, build-name is used as the major, minor, and patch parts
# of the product and file versions while build-number is used as the build suffix.
version: 1.0.0
version: 0.5.0

environment:
sdk: '>=2.18.6 <3.0.0'
Expand Down

0 comments on commit 6a6a401

Please # to comment.