π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mobile][photos] Prioritize Locker changelog action
r4khulf49107ff59cd
diff --git a/mobile/apps/photos/lib/ui/notification/update/change_log_page.dart b/mobile/apps/photos/lib/ui/notification/update/change_log_page.dartindex a09f246410..994f530ea9 100644--- a/mobile/apps/photos/lib/ui/notification/update/change_log_page.dart+++ b/mobile/apps/photos/lib/ui/notification/update/change_log_page.dart@@ -37,23 +37,26 @@ class _ChangeLogPageState extends State<ChangeLogPage> {final l10n = context.strings;final colors = context.componentColors;final isLocalGallery = isLocalGalleryMode;+ final continueButton = ButtonComponent(+ variant: isLocalGallery+ ? ButtonComponentVariant.primary+ : ButtonComponentVariant.secondary,+ size: ButtonComponentSize.large,+ label: l10n.continueLabel,+ shouldSurfaceExecutionStates: false,+ onTap: () async {+ if (Navigator.of(context).canPop()) {+ Navigator.of(context).pop();+ }+ },+ );return BottomSheetComponent(header: _ChangeLogHeader(title: l10n.whatsNew),crossAxisAlignment: CrossAxisAlignment.stretch,actionsTopSpacing: Spacing.lg,content: _getChangeLog(),actions: [- ButtonComponent(- variant: ButtonComponentVariant.primary,- size: ButtonComponentSize.large,- label: l10n.continueLabel,- shouldSurfaceExecutionStates: false,- onTap: () async {- if (Navigator.of(context).canPop()) {- Navigator.of(context).pop();- }- },- ),+ if (isLocalGallery) continueButton,Theme(data: Theme.of(context).copyWith(extensions: [@@ -100,6 +103,7 @@ class _ChangeLogPageState extends State<ChangeLogPage> {},),),+ if (!isLocalGallery) continueButton,],);}