diff options
author | davidpkj <davidpenkow1@gmail.com> | 2023-03-11 17:54:46 +0100 |
---|---|---|
committer | davidpkj <davidpenkow1@gmail.com> | 2023-03-11 17:54:46 +0100 |
commit | 0570147b3104eb329207ff374541d9d6797fe427 (patch) | |
tree | 41da77cffc72c8a8e9329c9dde0bff3a4c7f9ecc /lib/util/notifications.dart | |
parent | c9acbf458ff90d37be76fa32aeb1a2591d87144f (diff) |
Updated code to dart analysis recommendations
Diffstat (limited to 'lib/util/notifications.dart')
-rw-r--r-- | lib/util/notifications.dart | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/util/notifications.dart b/lib/util/notifications.dart index c652600..533a97b 100644 --- a/lib/util/notifications.dart +++ b/lib/util/notifications.dart @@ -25,8 +25,8 @@ class Notifications { /// Launches the notification static Future<void> notify(String title, String description, String payload) async { - const NotificationDetails _platformChannelSpecifics = NotificationDetails(android: _androidSpecifics); + const NotificationDetails platformChannelSpecifics = NotificationDetails(android: _androidSpecifics); - await flutterLocalNotificationsPlugin.show(0, title, description, _platformChannelSpecifics, payload: payload); + await flutterLocalNotificationsPlugin.show(0, title, description, platformChannelSpecifics, payload: payload); } } |