Polished context menus on files and grade average calculator

This commit is contained in:
2023-06-07 19:56:50 +02:00
parent 7ec339af0c
commit 7b52589d9e
2 changed files with 4 additions and 6 deletions

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)
],