From 54b1b98efd26d1e4de37cd83e6be0dc473631d93 Mon Sep 17 00:00:00 2001 From: Alex P Date: Sat, 16 Oct 2021 18:05:20 +0200 Subject: [PATCH] bugfix: main badge was not loading --- lib/Badges/HomiesBadges3.dart | 6 +++--- lib/Components/Notification.dart | 1 - pubspec.yaml | 8 ++++---- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/lib/Badges/HomiesBadges3.dart b/lib/Badges/HomiesBadges3.dart index b9708e88..3c574c80 100644 --- a/lib/Badges/HomiesBadges3.dart +++ b/lib/Badges/HomiesBadges3.dart @@ -23,14 +23,14 @@ class HomiesBadges3 extends Cubit>> { twitch.Badge( title: badgeData['tooltip'], description: null, - id: base64Encode(badgeData['tooltip'].codeUnits), + id: null, mipmap: [ badgeData['image1'], badgeData['image2'], badgeData['image3'], ], - name: base64Encode(badgeData['tooltip'].codeUnits), - tag: base64Encode(badgeData['tooltip'].codeUnits), + name: null, + tag: null, ), ); } diff --git a/lib/Components/Notification.dart b/lib/Components/Notification.dart index f64f801d..db1248a8 100644 --- a/lib/Components/Notification.dart +++ b/lib/Components/Notification.dart @@ -33,7 +33,6 @@ class _NotificationWrapperState extends State { subtitle, NotificationDetails( android: AndroidNotificationDetails( - 'Twitchat', 'Twitchat', 'Twitchat', importance: Importance.max, diff --git a/pubspec.yaml b/pubspec.yaml index 9d2cc6e3..336d4d4d 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -14,8 +14,8 @@ dependencies: hive: ^2.0.4 hive_flutter: ^1.0.0 webview_flutter: ^2.0.8 - file_picker: ^3.0.2+2 - flutter_local_notifications: ^6.0.0 + file_picker: ^4.1.4 + flutter_local_notifications: ^9.0.0 flutter_chatsen_irc: path: libraries/flutter_chatsen_irc bloc: ^7.0.0 @@ -37,8 +37,8 @@ dependencies: url: https://github.com/chatsen/flutter_cached_network_image ref: develop font_awesome_flutter: ^9.1.0 - sentry_flutter: ^5.1.0 - flutter_svg: ^0.22.0 + sentry_flutter: ^6.0.1 + flutter_svg: ^0.23.0+1 dev_dependencies: pedantic: ^1.11.0