diff --git a/lib/ui/settings/app_update_dialog.dart b/lib/ui/settings/app_update_dialog.dart index fb566fe68..497806846 100644 --- a/lib/ui/settings/app_update_dialog.dart +++ b/lib/ui/settings/app_update_dialog.dart @@ -6,7 +6,7 @@ import 'package:ente_auth/ente_theme_data.dart'; import 'package:ente_auth/services/update_service.dart'; import 'package:flutter/material.dart'; import 'package:logging/logging.dart'; -// import 'package:open_file/open_file.dart'; +import 'package:open_filex/open_filex.dart'; class AppUpdateDialog extends StatefulWidget { final LatestVersionInfo latestVersionInfo; @@ -157,7 +157,7 @@ class _ApkDownloaderDialogState extends State { }, ); Navigator.of(context, rootNavigator: true).pop('dialog'); - // OpenFile.open(_saveUrl); + OpenFilex.open(_saveUrl); } catch (e) { Logger("ApkDownloader").severe(e); final AlertDialog alert = AlertDialog( diff --git a/pubspec.lock b/pubspec.lock index 2baba7d94..a38cfe685 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -723,6 +723,13 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "2.0.1" + open_filex: + dependency: "direct main" + description: + name: open_filex + url: "https://pub.dartlang.org" + source: hosted + version: "4.3.2" otp: dependency: "direct main" description: diff --git a/pubspec.yaml b/pubspec.yaml index 3df92ba07..ebf61bc58 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: ente_auth description: ente two-factor authenticator -version: 1.0.22+22 +version: 1.0.23+23 publish_to: none environment: @@ -51,7 +51,7 @@ dependencies: local_auth: ^1.1.5 logging: ^1.0.1 move_to_background: ^1.0.2 - # open_file: ^3.2.1 Disabled to please PlayStore overlords + open_filex: ^4.3.2 otp: ^3.1.1 package_info_plus: ^1.0.1 password_strength: ^0.2.0