diff --git a/lib/app/ui/settings/view/settings.dart b/lib/app/ui/settings/view/settings.dart index efd316a..c0f3173 100644 --- a/lib/app/ui/settings/view/settings.dart +++ b/lib/app/ui/settings/view/settings.dart @@ -1072,7 +1072,7 @@ class _SettingsPageState extends State { info: appLanguages.firstWhere( (element) => (element['locale'] == locale), - orElse: () => appLanguages.first, + orElse: () => {'name': ''}, )['name'], ), onPressed: () { diff --git a/lib/app/utils/notification.dart b/lib/app/utils/notification.dart index 675f8be..edd4d89 100644 --- a/lib/app/utils/notification.dart +++ b/lib/app/utils/notification.dart @@ -34,8 +34,6 @@ class NotificationShow { body, scheduledTime, notificationDetails, - uiLocalNotificationDateInterpretation: - UILocalNotificationDateInterpretation.absoluteTime, androidScheduleMode: AndroidScheduleMode.exactAllowWhileIdle, payload: imagePath, ); diff --git a/pubspec.lock b/pubspec.lock index 5bc8603..0a2cec5 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -383,26 +383,34 @@ packages: dependency: "direct main" description: name: flutter_local_notifications - sha256: ef41ae901e7529e52934feba19ed82827b11baa67336829564aeab3129460610 + sha256: d59eeafd6df92174b1d5f68fc9d66634c97ce2e7cfe2293476236547bb19bbbd url: "https://pub.dev" source: hosted - version: "18.0.1" + version: "19.0.0" flutter_local_notifications_linux: dependency: transitive description: name: flutter_local_notifications_linux - sha256: "8f685642876742c941b29c32030f6f4f6dacd0e4eaecb3efbb187d6a3812ca01" + sha256: e3c277b2daab8e36ac5a6820536668d07e83851aeeb79c446e525a70710770a5 url: "https://pub.dev" source: hosted - version: "5.0.0" + version: "6.0.0" flutter_local_notifications_platform_interface: dependency: transitive description: name: flutter_local_notifications_platform_interface - sha256: "6c5b83c86bf819cdb177a9247a3722067dd8cc6313827ce7c77a4b238a26fd52" + sha256: "2569b973fc9d1f63a37410a9f7c1c552081226c597190cb359ef5d5762d1631c" url: "https://pub.dev" source: hosted - version: "8.0.0" + version: "9.0.0" + flutter_local_notifications_windows: + dependency: transitive + description: + name: flutter_local_notifications_windows + sha256: f8fc0652a601f83419d623c85723a3e82ad81f92b33eaa9bcc21ea1b94773e6e + url: "https://pub.dev" + source: hosted + version: "1.0.0" flutter_localizations: dependency: "direct main" description: flutter diff --git a/pubspec.yaml b/pubspec.yaml index c802d6d..f345254 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -46,7 +46,7 @@ dependencies: flutter_expandable_fab: ^2.3.0 flutter_hsvcolor_picker: ^1.5.1 scrollable_positioned_list: ^0.3.8 - flutter_local_notifications: ^18.0.1 + flutter_local_notifications: ^19.0.0 internet_connection_checker_plus: ^2.7.1 dio_cache_interceptor_file_store: ^1.2.2 isar: diff --git a/windows/flutter/generated_plugins.cmake b/windows/flutter/generated_plugins.cmake index 9d63f71..af26974 100644 --- a/windows/flutter/generated_plugins.cmake +++ b/windows/flutter/generated_plugins.cmake @@ -12,6 +12,7 @@ list(APPEND FLUTTER_PLUGIN_LIST ) list(APPEND FLUTTER_FFI_PLUGIN_LIST + flutter_local_notifications_windows ) set(PLUGIN_BUNDLED_LIBRARIES)