From e8733869baccc22728137ab15b6a74111ca696a2 Mon Sep 17 00:00:00 2001 From: vishnukvmd Date: Thu, 29 Sep 2022 16:28:51 +0530 Subject: [PATCH 1/3] Do nothing on tapping version --- lib/ui/settings/app_version_widget.dart | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/lib/ui/settings/app_version_widget.dart b/lib/ui/settings/app_version_widget.dart index 757b4dc8e..ac9f36b0f 100644 --- a/lib/ui/settings/app_version_widget.dart +++ b/lib/ui/settings/app_version_widget.dart @@ -2,7 +2,6 @@ import 'package:flutter/material.dart'; import 'package:package_info_plus/package_info_plus.dart'; -import 'package:photos/utils/dialog_util.dart'; class AppVersionWidget extends StatefulWidget { const AppVersionWidget({ @@ -30,13 +29,7 @@ class _AppVersionWidgetState extends State { if (now - (_lastTap ?? now) < kConsecutiveTapTimeWindowInMilliseconds) { _consecutiveTaps++; if (_consecutiveTaps == kTapThresholdForInspector) { - final dialog = - createProgressDialog(context, "Starting network inspector..."); - await dialog.show(); - await Future.delayed( - const Duration(milliseconds: kDummyDelayDurationInMilliseconds), - ); - await dialog.hide(); + // Do nothing } } else { _consecutiveTaps = 1; From 996996e151b27dff16f81f6841c9442e7ed871c7 Mon Sep 17 00:00:00 2001 From: vishnukvmd Date: Thu, 29 Sep 2022 16:29:19 +0530 Subject: [PATCH 2/3] Ignore Recent on Android --- lib/services/local/local_sync_util.dart | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/services/local/local_sync_util.dart b/lib/services/local/local_sync_util.dart index 96970adaf..ef0d67371 100644 --- a/lib/services/local/local_sync_util.dart +++ b/lib/services/local/local_sync_util.dart @@ -1,4 +1,5 @@ // @dart = 2.9 +import 'dart:io'; import 'dart:math'; import 'package:computer/computer.dart'; @@ -92,7 +93,7 @@ Future> getAllLocalAssets() async { ); filterOptionGroup.createTimeCond = DateTimeCond.def().copyWith(ignore: true); final assetPaths = await PhotoManager.getAssetPathList( - hasAll: true, + hasAll: !Platform.isAndroid, type: RequestType.common, filterOption: filterOptionGroup, ); @@ -235,7 +236,7 @@ Future> _getGalleryList({ } filterOptionGroup.containsPathModified = containsModifiedPath; final galleryList = await PhotoManager.getAssetPathList( - hasAll: true, + hasAll: !Platform.isAndroid, type: RequestType.common, filterOption: filterOptionGroup, ); From b21011703d95594b963cf53c34200c6658c94e22 Mon Sep 17 00:00:00 2001 From: vishnukvmd Date: Thu, 29 Sep 2022 16:29:38 +0530 Subject: [PATCH 3/3] v0.6.37 --- pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pubspec.yaml b/pubspec.yaml index 2b70599ff..e2049b7a2 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -11,7 +11,7 @@ description: ente photos application # 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: 0.6.36+366 +version: 0.6.37+367 environment: sdk: '>=2.12.0 <3.0.0'