Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mob][photos] Fix changelog spacing (#9569)

Ashil8e26ced431bb
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 3e5a9d4829..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
@@ -43,9 +43,7 @@ class ChangeLogEntryWidget extends StatelessWidget {
: colorScheme.textMuted,
),
),
- const SizedBox(
- height: 18,
- ),
+ const SizedBox(height: 10),
if (hasDescription)
Padding(
padding: EdgeInsets.only(bottom: hasItems ? 12 : 0),
@@ -82,9 +80,6 @@ class ChangeLogEntryWidget extends StatelessWidget {
),
),
),
- const SizedBox(
- height: 10,
- ),
],
);
}
diff --git a/mobile/apps/photos/lib/ui/notification/update/change_log_page.dart b/mobile/apps/photos/lib/ui/notification/update/change_log_page.dart
index f6eb01650b..c92151500d 100644
--- a/mobile/apps/photos/lib/ui/notification/update/change_log_page.dart
+++ b/mobile/apps/photos/lib/ui/notification/update/change_log_page.dart
@@ -133,7 +133,7 @@ class _ChangeLogPageState extends State<ChangeLogPage> {
controller: _scrollController,
thumbVisibility: true,
thickness: 2.0,
- child: ListView.builder(
+ child: ListView.separated(
controller: _scrollController,
shrinkWrap: true,
physics: const BouncingScrollPhysics(),
@@ -143,6 +143,7 @@ class _ChangeLogPageState extends State<ChangeLogPage> {
child: ChangeLogEntryWidget(entry: items[index]),
);
},
+ separatorBuilder: (_, __) => const SizedBox(height: 16),
itemCount: items.length,
),
),