Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Removed: scale state controller

Muhammed Ayimen557b636ab0d4
diff --git a/android/app/build.gradle b/android/app/build.gradle
index 8d66288d3a..3392282cde 100644
--- a/android/app/build.gradle
+++ b/android/app/build.gradle
@@ -54,14 +54,14 @@ android {
multiDexEnabled true
}
- signingConfigs {
- release {
- storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : file(System.getenv("SIGNING_KEY_PATH"))
- keyAlias keystoreProperties['keyAlias'] ? keystoreProperties['keyAlias'] : System.getenv("SIGNING_KEY_ALIAS")
- keyPassword keystoreProperties['keyPassword'] ? keystoreProperties['keyPassword'] : System.getenv("SIGNING_KEY_PASSWORD")
- storePassword keystoreProperties['storePassword'] ? keystoreProperties['storePassword'] : System.getenv("SIGNING_STORE_PASSWORD")
- }
- }
+ // signingConfigs {
+ // release {
+ // storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : file(System.getenv("SIGNING_KEY_PATH"))
+ // keyAlias keystoreProperties['keyAlias'] ? keystoreProperties['keyAlias'] : System.getenv("SIGNING_KEY_ALIAS")
+ // keyPassword keystoreProperties['keyPassword'] ? keystoreProperties['keyPassword'] : System.getenv("SIGNING_KEY_PASSWORD")
+ // storePassword keystoreProperties['storePassword'] ? keystoreProperties['storePassword'] : System.getenv("SIGNING_STORE_PASSWORD")
+ // }
+ // }
flavorDimensions "default"
productFlavors {
@@ -84,7 +84,7 @@ android {
buildTypes {
release {
- signingConfig signingConfigs.release
+ signingConfig signingConfigs.debug
}
debug {
applicationIdSuffix '.debug'
diff --git a/lib/ui/viewer/file/zoomable_image.dart b/lib/ui/viewer/file/zoomable_image.dart
index 2bf67fc822..0165551f50 100644
--- a/lib/ui/viewer/file/zoomable_image.dart
+++ b/lib/ui/viewer/file/zoomable_image.dart
@@ -54,8 +54,8 @@ class _ZoomableImageState extends State<ZoomableImage>
bool _loadedLargeThumbnail = false;
bool _loadingFinalImage = false;
bool _loadedFinalImage = false;
- ValueChanged<PhotoViewScaleState>? _scaleStateChangedCallback;
- bool _isZooming = false;
+ // ValueChanged<PhotoViewScaleState>? _scaleStateChangedCallback;
+ final bool _isZooming = false;
PhotoViewController _photoViewController = PhotoViewController();
@override
@@ -63,14 +63,14 @@ class _ZoomableImageState extends State<ZoomableImage>
_photo = widget.photo;
_logger = Logger("ZoomableImage");
_logger.info('initState for ${_photo.generatedID} with tag ${_photo.tag}');
- _scaleStateChangedCallback = (value) {
- if (widget.shouldDisableScroll != null) {
- widget.shouldDisableScroll!(value != PhotoViewScaleState.initial);
- }
- _isZooming = value != PhotoViewScaleState.initial;
- debugPrint("isZooming = $_isZooming, currentState $value");
- // _logger.info('is reakky zooming $_isZooming with state $value');
- };
+ // _scaleStateChangedCallback = (value) {
+ // if (widget.shouldDisableScroll != null) {
+ // widget.shouldDisableScroll!(value != PhotoViewScaleState.initial);
+ // }
+ // _isZooming = value != PhotoViewScaleState.initial;
+ // debugPrint("isZooming = $_isZooming, currentState $value");
+ // // _logger.info('is reakky zooming $_isZooming with state $value');
+ // };
super.initState();
}