π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
update the colors in packages and auth
Prateek Sunal27d6d9175bc7
diff --git a/mobile/apps/auth/lib/ui/components/auth_qr_dialog.dart b/mobile/apps/auth/lib/ui/components/auth_qr_dialog.dartindex 3a237d826b..1e40209ead 100644--- a/mobile/apps/auth/lib/ui/components/auth_qr_dialog.dart+++ b/mobile/apps/auth/lib/ui/components/auth_qr_dialog.dart@@ -82,9 +82,10 @@ class _AuthQrDialogState extends State<AuthQrDialog> {// QR text color - always black for scanabilityconst qrTextColor = textBaseLight;- final dialogBackgroundColor = theme.colorScheme.surface;+ final dialogBackgroundColor =+ isDark ? const Color(0xFF212121) : theme.colorScheme.surface;final closeBgColor =- isDark ? theme.colorScheme.surfaceContainerHighest : qrBoxColor;+ isDark ? const Color(0xFF292929) : const Color(0xFFF5F5F7);final closeIconColor = isDark ? theme.colorScheme.onSurface : qrTextColor;final dialogTitleStyle = theme.textTheme.titleLarge?.copyWith(@@ -161,6 +162,19 @@ class _AuthQrDialogState extends State<AuthQrDialog> {child: Stack(alignment: Alignment.center,children: [+ // Ente Auth icon at top right+ Positioned(+ top: -16,+ right: -16,+ child: Transform.rotate(+ angle: -4 * 3.14159 / 180, // -4 degrees+ child: Image.asset(+ 'assets/qr_logo.png',+ height: 64,+ width: 64,+ ),+ ),+ ),Column(mainAxisSize: MainAxisSize.min,crossAxisAlignment: CrossAxisAlignment.center,diff --git a/mobile/apps/auth/pubspec.lock b/mobile/apps/auth/pubspec.lockindex 16f84e5253..1394739ea7 100644--- a/mobile/apps/auth/pubspec.lock+++ b/mobile/apps/auth/pubspec.lock@@ -466,7 +466,7 @@ packages:source: pathversion: "0.0.1"ente_qr_ui:- dependency: "direct main"+ dependency: "direct overridden"description:path: "../../packages/qr"relative: truediff --git a/mobile/packages/configuration/pubspec.lock b/mobile/packages/configuration/pubspec.lockindex d672e43a7d..b6be5eb992 100644--- a/mobile/packages/configuration/pubspec.lock+++ b/mobile/packages/configuration/pubspec.lock@@ -407,7 +407,7 @@ packages:source: hostedversion: "3.2.0"path:- dependency: transitive+ dependency: "direct main"description:name: pathsha256: "75cca69d1490965be98c73ceaea117e8a04dd21217b37b292c9ddbec0d955bc5"diff --git a/mobile/packages/qr/lib/qr_code_dialog.dart b/mobile/packages/qr/lib/qr_code_dialog.dartindex 90e66f8f2f..dc02421642 100644--- a/mobile/packages/qr/lib/qr_code_dialog.dart+++ b/mobile/packages/qr/lib/qr_code_dialog.dart@@ -206,11 +206,11 @@ class _QrCodeDialogState extends State<QrCodeDialog> {// Round to nearest even number for crisp renderingfinal double qrCodeSizeEven = (qrCodeSize / 2).round() * 2.0;- final dialogBackgroundColor =- widget.backgroundColor ?? theme.colorScheme.surface;+ final dialogBackgroundColor = widget.backgroundColor ??+ (isDark ? const Color(0xFF212121) : theme.colorScheme.surface);final cardColor = widget.qrCardColor ?? _kDefaultQrBoxColor;final closeBgColor = widget.closeButtonBackgroundColor ??- (isDark ? theme.colorScheme.surfaceContainerHighest : cardColor);+ (isDark ? const Color(0xFF292929) : const Color(0xFFF5F5F7));final closeIconColor = widget.closeButtonIconColor ??(isDark ? theme.colorScheme.onSurface : _kDefaultQrTextColor);final shareButtonColor =