Tablet layout

This commit is contained in:
Hillel Coren 2019-08-20 18:55:55 +03:00
parent d2b308ae2e
commit 1fc538bfb2
1 changed files with 2 additions and 3 deletions

View File

@ -23,9 +23,8 @@ class ListFilterButton extends StatelessWidget {
? store.state.getListState(entityType).filter
: store.state.uiState.filter,
builder: (BuildContext context, filter) {
return IconButton(
icon: Icon(filter == null ? Icons.search : Icons.close),
tooltip: localization.filter,
return FlatButton(
child: Text(filter == null ? localization.search : localization.close),
onPressed: () => onFilterPressed(filter == null ? '' : null),
);
},