added lacking iconbuttons

This commit is contained in:
shilangyu 2020-09-10 23:35:14 +02:00
parent f14c8730e2
commit 2238e3303b
1 changed files with 4 additions and 4 deletions

View File

@ -68,12 +68,12 @@ class CommunitiesTab extends HookWidget {
return Icon(Icons.filter_list); return Icon(Icons.filter_list);
} }
return InkWell( return IconButton(
onTap: () { onPressed: () {
filterController.clear(); filterController.clear();
primaryFocus.unfocus(); primaryFocus.unfocus();
}, },
child: Icon(Icons.clear), icon: Icon(Icons.clear),
); );
}(); }();
@ -84,7 +84,7 @@ class CommunitiesTab extends HookWidget {
return Scaffold( return Scaffold(
appBar: AppBar( appBar: AppBar(
actions: [Icon(Icons.style)], actions: [IconButton(icon: Icon(Icons.style))],
// TODO: should be smaller // TODO: should be smaller
title: TextField( title: TextField(
controller: filterController, controller: filterController,