Polished context menus on files and grade average calculator

This commit is contained in:
MineTec committed 2023-06-07 19:56:50 +02:00
1 parent 7ec339af0c
commit 7b52589d9e
2 files changed
+4 -6

No files matched your search

+2 -2
View File
@@ -114,7 +114,7 @@ class _FilesState extends State<Files> {
enabled: e != currentSortDirection,
child: Row(
children: [
Icon(e ? Icons.text_rotate_up : Icons.text_rotation_down, color: Colors.black),
Icon(e ? Icons.text_rotate_up : Icons.text_rotation_down, color: Theme.of(context).colorScheme.onSurface),
const SizedBox(width: 15),
Text(e ? "Aufsteigend" : "Absteigend")
],
@@ -135,7 +135,7 @@ class _FilesState extends State<Files> {
enabled: key != currentSort,
child: Row(
children: [
Icon(SortOptions.getOption(key).icon, color: Colors.black),
Icon(SortOptions.getOption(key).icon, color: Theme.of(context).colorScheme.onSurface),
const SizedBox(width: 15),
Text(SortOptions.getOption(key).displayName)
],