From d70af2b2e18e72ce5ab2e9d1ce3f44f0ab63a31d Mon Sep 17 00:00:00 2001 From: David Djordjevic Date: Thu, 5 Sep 2024 15:12:55 +0200 Subject: [PATCH 1/2] Update rxdart dependency to 0.28.0 in alice package --- .../alice/lib/ui/calls_list/page/alice_calls_list_page.dart | 4 +++- packages/alice/pubspec.yaml | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/alice/lib/ui/calls_list/page/alice_calls_list_page.dart b/packages/alice/lib/ui/calls_list/page/alice_calls_list_page.dart index 08109757..923066da 100644 --- a/packages/alice/lib/ui/calls_list/page/alice_calls_list_page.dart +++ b/packages/alice/lib/ui/calls_list/page/alice_calls_list_page.dart @@ -267,7 +267,9 @@ class _AliceCallsListPageState extends State ? context.i18n(AliceTranslationKey.saveSuccessView) : null, secondButtonAction: () => - OperatingSystem.isAndroid ? OpenFilex.open(result.path) : null, + OperatingSystem.isAndroid && result.path != null + ? OpenFilex.open(result.path!) + : null, ); } else { final [String title, String description] = switch (result.error) { diff --git a/packages/alice/pubspec.yaml b/packages/alice/pubspec.yaml index 04af8787..662a9d7c 100644 --- a/packages/alice/pubspec.yaml +++ b/packages/alice/pubspec.yaml @@ -18,7 +18,7 @@ dependencies: flutter: sdk: flutter flutter_local_notifications: ^17.1.2 - rxdart: ^0.27.7 + rxdart: ^0.28.0 path_provider: ^2.1.3 permission_handler: ^11.3.1 package_info_plus: ^8.0.0 From fec1cd906c93337177b07b20fc0232e0decf138f Mon Sep 17 00:00:00 2001 From: David Djordjevic Date: Fri, 6 Sep 2024 10:15:02 +0200 Subject: [PATCH 2/2] Revert path change in alice_calls_list_page --- .../alice/lib/ui/calls_list/page/alice_calls_list_page.dart | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/alice/lib/ui/calls_list/page/alice_calls_list_page.dart b/packages/alice/lib/ui/calls_list/page/alice_calls_list_page.dart index 923066da..08109757 100644 --- a/packages/alice/lib/ui/calls_list/page/alice_calls_list_page.dart +++ b/packages/alice/lib/ui/calls_list/page/alice_calls_list_page.dart @@ -267,9 +267,7 @@ class _AliceCallsListPageState extends State ? context.i18n(AliceTranslationKey.saveSuccessView) : null, secondButtonAction: () => - OperatingSystem.isAndroid && result.path != null - ? OpenFilex.open(result.path!) - : null, + OperatingSystem.isAndroid ? OpenFilex.open(result.path) : null, ); } else { final [String title, String description] = switch (result.error) {