further improved accessibility across the application and add tooltips to action buttons
This commit is contained in:
1 parent
478f0ff20b
commit
e8c6ac1c65
13 files changed
+366
-268
No files matched your search
@@ -23,6 +23,8 @@ class FilesSortActions extends StatelessWidget {
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: [
|
||||
PopupMenuButton<bool>(
|
||||
tooltip:
|
||||
'Sortierrichtung: ${ascending ? 'aufsteigend' : 'absteigend'}',
|
||||
icon: Icon(
|
||||
ascending ? Icons.text_rotate_up : Icons.text_rotation_down,
|
||||
),
|
||||
@@ -47,6 +49,8 @@ class FilesSortActions extends StatelessWidget {
|
||||
onSelected: onDirectionChanged,
|
||||
),
|
||||
PopupMenuButton<SortOption>(
|
||||
tooltip:
|
||||
'Sortieren nach: ${SortOptions.getOption(currentSort).displayName}',
|
||||
icon: const Icon(Icons.sort),
|
||||
itemBuilder: (context) => SortOptions.options.keys
|
||||
.map(
|
||||
|
||||
Reference in new issue
Block a user