fix build

This commit is contained in:
Mike Schwörer 2024-10-23 15:22:08 +02:00
parent 80d4e18a23
commit 8ebd95a4b8
Signed by: Mikescher
GPG Key ID: D3C7172E0A70F8CF
2 changed files with 4 additions and 4 deletions

View File

@ -547,7 +547,7 @@ class _ChannelViewPageState extends State<ChannelViewPage> {
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<ChannelViewPage> {
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<ChannelViewPage> {
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);

View File

@ -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