Pull to refresh doesn't work in mobile app if there isn't enough entries #459

This commit is contained in:
Hillel Coren 2023-05-29 13:51:51 +03:00
parent cf1c7c8f59
commit d36e253973
1 changed files with 1 additions and 2 deletions

View File

@ -159,8 +159,7 @@ class _EntityListState extends State<EntityList> {
entityType: state.uiState.filterEntityType), entityType: state.uiState.filterEntityType),
onClearPressed: () => store.dispatch(ClearEntityFilter()), onClearPressed: () => store.dispatch(ClearEntityFilter()),
), ),
Flexible( Expanded(
fit: FlexFit.loose,
child: entityList.isEmpty child: entityList.isEmpty
? HelpText( ? HelpText(
AppLocalization.of(context).clickPlusToCreateRecord) AppLocalization.of(context).clickPlusToCreateRecord)