Skip to content

armgit / ente

Public Imported from GitHub
0

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

Refine shared album empty state

AmanRajSinghMouryac9eb91b9e053
diff --git a/mobile/apps/photos/lib/ui/sharing/share_collection_page.dart b/mobile/apps/photos/lib/ui/sharing/share_collection_page.dart
index 692be82151..9f6f41e510 100644
--- a/mobile/apps/photos/lib/ui/sharing/share_collection_page.dart
+++ b/mobile/apps/photos/lib/ui/sharing/share_collection_page.dart
@@ -78,9 +78,10 @@ class _ShareCollectionPageState extends State<ShareCollectionPage> {
children.addAll([
if (sortedSharees.isNotEmpty)
_participantRoster(userID, sortedSharees)
- else if (!hasUrl) ...[
+ else ...[
Center(child: Image.asset("assets/on_device.png")),
- ShareSectionDescription(context.strings.emptyAlbumShareMessage),
+ if (!hasUrl)
+ ShareSectionDescription(context.strings.emptyAlbumShareMessage),
],
const SizedBox(height: Spacing.sm),
ButtonComponent(