From 8ebd95a4b85eeefeb03d8466917961ab01bb7540 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20Schw=C3=B6rer?= Date: Wed, 23 Oct 2024 15:22:08 +0200 Subject: [PATCH] fix build --- flutter/lib/pages/channel_view/channel_view.dart | 6 +++--- flutter/pubspec.yaml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/flutter/lib/pages/channel_view/channel_view.dart b/flutter/lib/pages/channel_view/channel_view.dart index 2680bbf..6168b74 100644 --- a/flutter/lib/pages/channel_view/channel_view.dart +++ b/flutter/lib/pages/channel_view/channel_view.dart @@ -547,7 +547,7 @@ class _ChannelViewPageState extends State { final acc = AppAuth(); try { - await APIClient.unconfirmSubscription(acc, widget.channelID, subscription!.subscriptionID); + await APIClient.unconfirmSubscription(acc, widget.channelID, sub.subscriptionID); widget.needsReload?.call(); await _initStateAsync(false); @@ -563,7 +563,7 @@ class _ChannelViewPageState extends State { final acc = AppAuth(); try { - await APIClient.confirmSubscription(acc, widget.channelID, subscription!.subscriptionID); + await APIClient.confirmSubscription(acc, widget.channelID, sub.subscriptionID); widget.needsReload?.call(); await _initStateAsync(false); @@ -579,7 +579,7 @@ class _ChannelViewPageState extends State { final acc = AppAuth(); try { - await APIClient.deleteSubscription(acc, widget.channelID, subscription!.subscriptionID); + await APIClient.deleteSubscription(acc, widget.channelID, sub.subscriptionID); widget.needsReload?.call(); await _initStateAsync(false); diff --git a/flutter/pubspec.yaml b/flutter/pubspec.yaml index 878d350..dc8dad6 100644 --- a/flutter/pubspec.yaml +++ b/flutter/pubspec.yaml @@ -33,7 +33,7 @@ dependencies: toastification: ^2.0.0 uuid: ^4.4.0 share_plus: ^9.0.0 - flutter_local_notifications: ^17.1.2 + flutter_local_notifications: ^17.2.3 path: any