Skip to content

armgit / ente

Public Imported from GitHub
0

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

Simplify changelog entry spacing

ashilkn355a0969e31b
diff --git a/mobile/apps/photos/lib/ui/notification/update/change_log_entry.dart b/mobile/apps/photos/lib/ui/notification/update/change_log_entry.dart
index 003b6d086e..18689d6134 100644
--- a/mobile/apps/photos/lib/ui/notification/update/change_log_entry.dart
+++ b/mobile/apps/photos/lib/ui/notification/update/change_log_entry.dart
@@ -30,7 +30,6 @@ class ChangeLogEntryWidget extends StatelessWidget {
final hasDescription =
entry.description != null && entry.description!.isNotEmpty;
final hasItems = entry.items.isNotEmpty;
- final hasBody = hasDescription || hasItems;
return Column(
crossAxisAlignment: CrossAxisAlignment.start,
@@ -44,7 +43,7 @@ class ChangeLogEntryWidget extends StatelessWidget {
: colorScheme.textMuted,
),
),
- if (hasBody) const SizedBox(height: 10),
+ const SizedBox(height: 10),
if (hasDescription)
Padding(
padding: EdgeInsets.only(bottom: hasItems ? 12 : 0),