Skip to content

armgit / ente

Public Imported from GitHub
0

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

fix: sort icon colors in dark/light modes

vishnukvmd3fa0a6026623
diff --git a/mobile/apps/locker/lib/ui/components/item_list_view.dart b/mobile/apps/locker/lib/ui/components/item_list_view.dart
index 4aa343b3ca..df994cd822 100644
--- a/mobile/apps/locker/lib/ui/components/item_list_view.dart
+++ b/mobile/apps/locker/lib/ui/components/item_list_view.dart
@@ -256,7 +256,7 @@ class _ItemListViewState extends State<ItemListView> {
? Icons.arrow_upward
: Icons.arrow_downward,
size: 16,
- color: Theme.of(context).primaryColor,
+ color: getEnteColorScheme(context).primary500,
),
],
),
@@ -289,7 +289,7 @@ class _ItemListViewState extends State<ItemListView> {
? Icons.arrow_upward
: Icons.arrow_downward,
size: 16,
- color: Theme.of(context).primaryColor,
+ color: getEnteColorScheme(context).primary500,
),
],
),
@@ -1388,27 +1388,3 @@ class FileListViewHelpers {
);
}
}
-
-class FileDataTable extends StatelessWidget {
- final List<EnteFile> files;
- final Function(EnteFile)? onFileTap;
- final bool enableSorting;
-
- const FileDataTable({
- super.key,
- required this.files,
- this.onFileTap,
- this.enableSorting = false,
- });
-
- @override
- Widget build(BuildContext context) {
- return Container(
- padding: const EdgeInsets.all(16),
- child: const Text(
- 'FileDataTable is deprecated. Use FileListView instead.',
- style: TextStyle(color: Colors.red),
- ),
- );
- }
-}