π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
refactor: fix bottom navigation bar colors
AmanRajSinghMourya72f9d9e75615
diff --git a/mobile/apps/photos/lib/ui/tools/editor/image_editor/image_editor_page.dart b/mobile/apps/photos/lib/ui/tools/editor/image_editor/image_editor_page.dartindex 4f962d1357..ba28d1c293 100644--- a/mobile/apps/photos/lib/ui/tools/editor/image_editor/image_editor_page.dart+++ b/mobile/apps/photos/lib/ui/tools/editor/image_editor/image_editor_page.dart@@ -1,10 +1,10 @@import "dart:async";import "dart:io";import "dart:math";-import "dart:typed_data";import 'dart:ui' as ui show Image;import 'package:flutter/material.dart';+import "package:flutter/services.dart";import "package:flutter_image_compress/flutter_image_compress.dart";import "package:flutter_svg/svg.dart";import "package:logging/logging.dart";@@ -176,17 +176,18 @@ class _ImageEditorPageState extends State<ImageEditorPage> {final isLightMode = Theme.of(context).brightness == Brightness.light;final colorScheme = getEnteColorScheme(context);final textTheme = getEnteTextTheme(context);- return Scaffold(- resizeToAvoidBottomInset: false,- backgroundColor: colorScheme.backgroundBase,- body: PopScope(- canPop: false,- onPopInvoked: (didPop) {- if (didPop) return;- editorKey.currentState?.disablePopScope = true;- _showExitConfirmationDialog(context);- },- child: ProImageEditor.file(+ return PopScope(+ canPop: false,+ onPopInvoked: (didPop) {+ if (didPop) return;+ editorKey.currentState?.disablePopScope = true;+ _showExitConfirmationDialog(context);+ },+ child: Scaffold(+ extendBodyBehindAppBar: true,+ resizeToAvoidBottomInset: false,+ backgroundColor: colorScheme.backgroundBase,+ body: ProImageEditor.file(key: editorKey,widget.file,callbacks: ProImageEditorCallbacks(@@ -205,6 +206,14 @@ class _ImageEditorPageState extends State<ImageEditorPage> {),configs: ProImageEditorConfigs(imageEditorTheme: ImageEditorTheme(+ uiOverlayStyle: SystemUiOverlayStyle(+ systemNavigationBarContrastEnforced: true,+ systemNavigationBarColor: Colors.transparent,+ statusBarBrightness:+ isLightMode ? Brightness.dark : Brightness.light,+ statusBarIconBrightness:+ isLightMode ? Brightness.dark : Brightness.light,+ ),appBarBackgroundColor: colorScheme.backgroundBase,background: colorScheme.backgroundBase,bottomBarBackgroundColor: colorScheme.backgroundBase,