Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mob][photos] minor changes

Aman Raj Singh Mourya2988767f97aa
diff --git a/mobile/lib/ui/viewer/gallery/empty_album_state.dart b/mobile/lib/ui/viewer/gallery/empty_album_state.dart
index 72c13c226e..701406c7e3 100644
--- a/mobile/lib/ui/viewer/gallery/empty_album_state.dart
+++ b/mobile/lib/ui/viewer/gallery/empty_album_state.dart
@@ -17,13 +17,16 @@ class EmptyAlbumState extends StatelessWidget {
@override
Widget build(BuildContext context) {
+ final isLightMode = Theme.of(context).brightness == Brightness.light;
return isFromCollectPhotos
? Stack(
children: [
Center(
child: Opacity(
opacity: 0.5,
- child: Image.asset('assets/new_empty_album.png'),
+ child: isLightMode
+ ? Image.asset('assets/new_empty_album.png')
+ : Image.asset('assets/new_empty_album_dark.png'),
),
),
],