Skip to content

armgit / ente

Public Imported from GitHub
0

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

consistent colors

AmanRajSinghMourya9b3bdcfa28b5
diff --git a/mobile/apps/photos/lib/ui/collections/collection_list_page.dart b/mobile/apps/photos/lib/ui/collections/collection_list_page.dart
index 56e3027805..9843632b95 100644
--- a/mobile/apps/photos/lib/ui/collections/collection_list_page.dart
+++ b/mobile/apps/photos/lib/ui/collections/collection_list_page.dart
@@ -13,7 +13,6 @@ import "package:photos/models/selected_albums.dart";
import "package:photos/service_locator.dart";
import "package:photos/services/collections_service.dart";
import "package:photos/settings/local_settings.dart";
-import "package:photos/theme/ente_theme.dart";
import "package:photos/ui/collections/flex_grid_view.dart";
import "package:photos/ui/components/searchable_appbar.dart";
import "package:photos/ui/viewer/actions/album_selection_overlay_bar.dart";
@@ -157,7 +156,6 @@ class _CollectionListPageState extends State<CollectionListPage> {
}
List<EntePopupMenuOption<_CollectionListMenuAction>> _buildMenuOptions() {
- final colorScheme = getEnteColorScheme(context);
final strings = context.strings;
final currentViewType = albumViewType ?? localSettings.albumViewType();
final isListView = currentViewType == AlbumViewType.list;
@@ -172,7 +170,6 @@ class _CollectionListPageState extends State<CollectionListPage> {
: HugeIcons.strokeRoundedArrowDown02,
size: 12,
strokeWidth: 3,
- color: colorScheme.textMuted,
);
return [
@@ -185,7 +182,6 @@ class _CollectionListPageState extends State<CollectionListPage> {
: HugeIcons.strokeRoundedMenu01,
size: 12,
strokeWidth: 3,
- color: colorScheme.contentLight,
),
),
EntePopupMenuOption(
diff --git a/mobile/apps/photos/lib/ui/tabs/albums_tab.dart b/mobile/apps/photos/lib/ui/tabs/albums_tab.dart
index 9e1fb4d256..4e7ca7e1aa 100644
--- a/mobile/apps/photos/lib/ui/tabs/albums_tab.dart
+++ b/mobile/apps/photos/lib/ui/tabs/albums_tab.dart
@@ -697,7 +697,6 @@ class _AlbumsTabState extends State<AlbumsTab>
}
List<EntePopupMenuOption<_AlbumsMenuAction>> _buildAlbumsMenuOptions() {
- final colorScheme = getEnteColorScheme(context);
final strings = context.strings;
final isListView = _viewType.value == AlbumViewType.list;
final showSortActions = !_hasSearchQuery;
@@ -712,7 +711,6 @@ class _AlbumsTabState extends State<AlbumsTab>
: HugeIcons.strokeRoundedArrowDown02,
size: 12,
strokeWidth: 3,
- color: colorScheme.textMuted,
);
return [
@@ -726,7 +724,6 @@ class _AlbumsTabState extends State<AlbumsTab>
: HugeIcons.strokeRoundedMenu01,
size: 12,
strokeWidth: 3,
- color: colorScheme.contentLight,
),
),
if (showSortActions) ...[
diff --git a/mobile/apps/photos/lib/ui/viewer/file/file_app_bar.dart b/mobile/apps/photos/lib/ui/viewer/file/file_app_bar.dart
index 5b612c7245..aa1bf98a02 100644
--- a/mobile/apps/photos/lib/ui/viewer/file/file_app_bar.dart
+++ b/mobile/apps/photos/lib/ui/viewer/file/file_app_bar.dart
@@ -534,11 +534,7 @@ class FileAppBarState extends State<FileAppBar> {
return EntePopupMenuOption<int>(
value: value,
label: label,
- leadingWidget: HugeIcon(
- icon: hugeIcon,
- size: IconSizes.small,
- color: context.componentColors.textLight,
- ),
+ leadingWidget: HugeIcon(icon: hugeIcon, size: IconSizes.small),
trailingWidget: trailing,
enabled: enabled,
);
diff --git a/mobile/apps/photos/lib/ui/viewer/people/merge_clusters_to_person_sheet.dart b/mobile/apps/photos/lib/ui/viewer/people/merge_clusters_to_person_sheet.dart
index 93278fa777..0d3078d8c4 100644
--- a/mobile/apps/photos/lib/ui/viewer/people/merge_clusters_to_person_sheet.dart
+++ b/mobile/apps/photos/lib/ui/viewer/people/merge_clusters_to_person_sheet.dart
@@ -503,8 +503,6 @@ class _MergeClustersToPersonPageState extends State<MergeClustersToPersonPage> {
icon: directionIcon,
size: 12,
strokeWidth: 3,
- color:
- context.componentColors.textLight,
);
}
diff --git a/mobile/apps/photos/lib/ui/viewer/search/result/people_section_all_page.dart b/mobile/apps/photos/lib/ui/viewer/search/result/people_section_all_page.dart
index 2b5b0bbfb1..57c448280a 100644
--- a/mobile/apps/photos/lib/ui/viewer/search/result/people_section_all_page.dart
+++ b/mobile/apps/photos/lib/ui/viewer/search/result/people_section_all_page.dart
@@ -1067,7 +1067,6 @@ class _PeopleSectionAllWidgetState extends State<PeopleSectionAllWidget> {
icon: directionIcon,
size: 12,
strokeWidth: 3,
- color: context.componentColors.textLight,
),
);
}
diff --git a/mobile/apps/photos/lib/ui/viewer/search/result/search_section_all_page.dart b/mobile/apps/photos/lib/ui/viewer/search/result/search_section_all_page.dart
index 9aeba9d5a0..8ee661580e 100644
--- a/mobile/apps/photos/lib/ui/viewer/search/result/search_section_all_page.dart
+++ b/mobile/apps/photos/lib/ui/viewer/search/result/search_section_all_page.dart
@@ -383,7 +383,6 @@ class _SearchSectionAllPageState extends State<SearchSectionAllPage> {
}
List<EntePopupMenuOption<_LocationSortKey>> _locationSortOptions() {
- final colors = context.componentColors;
final strings = context.strings;
final activeDirection = HugeIcon(
icon: _locationSortAscending
@@ -391,7 +390,6 @@ class _SearchSectionAllPageState extends State<SearchSectionAllPage> {
: HugeIcons.strokeRoundedArrowDown02,
size: 12,
strokeWidth: 3,
- color: colors.textLight,
);
return [