π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob][photos] Standardize App Temp app bar
Aman87fc86e0d6c4
diff --git a/mobile/apps/photos/lib/ui/settings/pending_sync/pending_sync_info_screen.dart b/mobile/apps/photos/lib/ui/settings/pending_sync/pending_sync_info_screen.dartindex 00ea94370a..705b6affc6 100644--- a/mobile/apps/photos/lib/ui/settings/pending_sync/pending_sync_info_screen.dart+++ b/mobile/apps/photos/lib/ui/settings/pending_sync/pending_sync_info_screen.dart@@ -3,10 +3,8 @@ import "package:flutter/material.dart";import "package:photos/core/configuration.dart";import "package:photos/generated/l10n.dart";import "package:photos/service_locator.dart";-import "package:photos/ui/components/buttons/icon_button_widget.dart";import "package:photos/ui/components/menu_section_title.dart";-import "package:photos/ui/components/title_bar_title_widget.dart";-import "package:photos/ui/components/title_bar_widget.dart";+import "package:photos/ui/settings/components/settings_page_scaffold.dart";import "package:photos/ui/settings/pending_sync/path_info_storage_viewer.dart";// Preview Video related items -> pv@@ -103,64 +101,22 @@ class _PendingSyncInfoScreenState extends State<PendingSyncInfoScreen> {@overrideWidget build(BuildContext context) {- return Scaffold(- body: CustomScrollView(- primary: false,- slivers: <Widget>[- TitleBarWidget(- flexibleSpaceTitle: const TitleBarTitleWidget(title: "App Temp"),- actionIcons: [- IconButtonWidget(- icon: Icons.close_outlined,- iconButtonType: IconButtonType.secondary,- onTap: () {- Navigator.pop(context);- if (Navigator.canPop(context)) {- Navigator.pop(context);- }- if (Navigator.canPop(context)) {- Navigator.pop(context);- }- },+ return SettingsPageScaffold(+ title: "App Temp",+ children: [+ MenuSectionTitle(title: AppLocalizations.of(context).cachedData),+ MenuGroupComponent(+ items: [+ for (var pathIndex = 0; pathIndex < paths.length; pathIndex++)+ PathInfoStorageViewer(+ paths[pathIndex],+ enableDoubleTapClear: internalUser,+ key: ValueKey("$pathIndex-$_refreshCounterKey"),),- ],- ),- SliverList(- delegate: SliverChildBuilderDelegate((context, index) {- return Padding(- padding: const EdgeInsets.symmetric(horizontal: 16),- child: Column(- mainAxisSize: MainAxisSize.min,- children: [- Column(- children: [- MenuSectionTitle(- title: AppLocalizations.of(context).cachedData,- ),- MenuGroupComponent(- items: [- for (- var pathIndex = 0;- pathIndex < paths.length;- pathIndex++- )- PathInfoStorageViewer(- paths[pathIndex],- enableDoubleTapClear: internalUser,- key: ValueKey("$pathIndex-$_refreshCounterKey"),- ),- ],- ),- const SizedBox(height: 24),- ],- ),- ],- ),- );- }, childCount: 1),- ),- ],- ),+ ],+ ),+ const SizedBox(height: 24),+ ],);}}