Skip to content

armgit / ente

Public Imported from GitHub
0

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

Refactor icon display logic in sort option menu

Prateek Sunal42f2015f48e7
diff --git a/mobile/apps/auth/lib/ui/sort_option_menu.dart b/mobile/apps/auth/lib/ui/sort_option_menu.dart
index 03b697e5fc..1d3b301781 100644
--- a/mobile/apps/auth/lib/ui/sort_option_menu.dart
+++ b/mobile/apps/auth/lib/ui/sort_option_menu.dart
@@ -59,9 +59,7 @@ class SortCodeMenuWidget extends StatelessWidget {
sortOptionText(CodeSortKey.values[index]),
if (CodeSortKey.values[index] == currentKey)
Icon(
- CodeSortKey.values[index] == CodeSortKey.manual
- ? Icons.mode_edit
- : Icons.check,
+ Icons.mode_edit,
color: Theme.of(context).iconTheme.color,
),
],