Skip to content

armgit / ente

Public Imported from GitHub
0

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

minor fixes

AmanRajSinghMourya746aa811c97f
diff --git a/mobile/apps/locker/lib/ui/components/home_empty_state_widget.dart b/mobile/apps/locker/lib/ui/components/home_empty_state_widget.dart
index c34e5c5790..ca37cf6ca7 100644
--- a/mobile/apps/locker/lib/ui/components/home_empty_state_widget.dart
+++ b/mobile/apps/locker/lib/ui/components/home_empty_state_widget.dart
@@ -75,12 +75,14 @@ class _HomeEmptyStateWidgetState extends State<HomeEmptyStateWidget> {
ButtonComponent(
label: context.l10n.setupYourLegacy,
onTap: widget.onSetupLegacy,
+ shouldSurfaceExecutionStates: false,
),
const SizedBox(height: 12),
ButtonComponent(
label: context.l10n.saveToLocker,
variant: ButtonComponentVariant.neutral,
onTap: widget.onSaveToLocker,
+ shouldSurfaceExecutionStates: false,
),
],
),
diff --git a/mobile/apps/locker/lib/ui/pages/home_page.dart b/mobile/apps/locker/lib/ui/pages/home_page.dart
index adb17b3342..75296677ed 100644
--- a/mobile/apps/locker/lib/ui/pages/home_page.dart
+++ b/mobile/apps/locker/lib/ui/pages/home_page.dart
@@ -708,7 +708,7 @@ class _HomePageState extends UploaderPageState<HomePage>
padding: const EdgeInsets.symmetric(horizontal: 24),
child: HomeEmptyStateWidget(
isLoading: _isSyncing,
- onSetupLegacy: () => openLegacyPage(context),
+ onSetupLegacy: () => openLegacyFromHome(context),
onSaveToLocker: _openSavePage,
),
),