Use a more obvious icon (magnifying glass) for the "filter apps" button (#1762)

This commit is contained in:
Imran Remtulla
2024-08-05 16:21:42 -04:00
parent fd38444836
commit 62dbffab52

View File

@@ -1077,7 +1077,9 @@ class AppsPageState extends State<AppsPage> {
IconButton(
color: Theme.of(context).colorScheme.primary,
style: const ButtonStyle(visualDensity: VisualDensity.compact),
tooltip: '${tr('filter')}${isFilterOff ? '' : ' *'}',
tooltip: isFilterOff
? tr('filterApps')
: '${tr('filter')} - ${tr('remove')}',
onPressed: isFilterOff
? showFilterDialog
: () {
@@ -1086,8 +1088,8 @@ class AppsPageState extends State<AppsPage> {
});
},
icon: Icon(isFilterOff
? Icons.filter_list_rounded
: Icons.filter_list_off_rounded)),
? Icons.search_rounded
: Icons.search_off_rounded)),
const SizedBox(
width: 10,
),