Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mob][photos] Center empty device albums state

AmanRajSinghMouryae52bf469f0a2
diff --git a/mobile/apps/photos/lib/ui/tabs/albums/empty_states/on_device_empty_state.dart b/mobile/apps/photos/lib/ui/tabs/albums/empty_states/on_device_empty_state.dart
index 9ba8b3c139..296ab17dc1 100644
--- a/mobile/apps/photos/lib/ui/tabs/albums/empty_states/on_device_empty_state.dart
+++ b/mobile/apps/photos/lib/ui/tabs/albums/empty_states/on_device_empty_state.dart
@@ -102,15 +102,9 @@ class OnDeviceEmptyState extends StatelessWidget {
final strings = AppLocalizations.of(context);
final bottomPadding = 64 + MediaQuery.paddingOf(context).bottom + 32;
- return Align(
- alignment: Alignment.bottomCenter,
- child: Padding(
- padding: EdgeInsets.fromLTRB(
- 16,
- _permissionTopPadding,
- 16,
- bottomPadding,
- ),
+ return Padding(
+ padding: EdgeInsets.fromLTRB(16, 0, 16, bottomPadding),
+ child: Center(
child: SizedBox(
width: _contentWidth,
child: Column(