From 0231f28f3f8be9383517fb88ab2a50e2f3d56638 Mon Sep 17 00:00:00 2001 From: Anton Stubenbord Date: Fri, 12 May 2023 00:42:31 +0200 Subject: [PATCH] feat: bump version number, temporarily disable in-app viewer --- .../document_details/view/pages/document_details_page.dart | 3 ++- pubspec.yaml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/features/document_details/view/pages/document_details_page.dart b/lib/features/document_details/view/pages/document_details_page.dart index c9e4d04..826a08e 100644 --- a/lib/features/document_details/view/pages/document_details_page.dart +++ b/lib/features/document_details/view/pages/document_details_page.dart @@ -304,10 +304,11 @@ class _DocumentDetailsPageState extends State { document: state.document, enabled: isConnected, ), + //TODO: Enable again, need new pdf viewer package... IconButton( tooltip: S.of(context)!.previewTooltip, icon: const Icon(Icons.visibility), - onPressed: isConnected ? () => _onOpen(state.document) : null, + onPressed: (isConnected && false) ? () => _onOpen(state.document) : null, ).paddedOnly(right: 4.0), IconButton( tooltip: S.of(context)!.openInSystemViewer, diff --git a/pubspec.yaml b/pubspec.yaml index cba1680..815d542 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -17,7 +17,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. # Read more about iOS versioning at # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html -version: 2.2.4+32 +version: 2.2.5+33 environment: sdk: ">=2.19.0 <4.0.0"