Skip to content

armgit / ente

Public Imported from GitHub
0

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

Remove first scrollbar division since it doesn't add value in terms of UX

ashilkn2bee2fe71ce6
diff --git a/mobile/apps/photos/lib/ui/viewer/gallery/scrollbar/custom_scroll_bar_2.dart b/mobile/apps/photos/lib/ui/viewer/gallery/scrollbar/custom_scroll_bar_2.dart
index c5b868cdd4..7fd03af65d 100644
--- a/mobile/apps/photos/lib/ui/viewer/gallery/scrollbar/custom_scroll_bar_2.dart
+++ b/mobile/apps/photos/lib/ui/viewer/gallery/scrollbar/custom_scroll_bar_2.dart
@@ -85,6 +85,9 @@ class _CustomScrollBar2State extends State<CustomScrollBar2> {
}
final filteredResult = <({double position, String title})>[];
+ // Remove first scrollbar division since it doesn't add value in terms of UX
+ result.removeAt(0);
+
// Filter out positions that are too close to each other
if (result.isNotEmpty) {
filteredResult.add(result.first);