fix: Keyboard should overlap widgets on selector views

This commit is contained in:
Alberto Ponces 2022-09-08 12:57:51 +01:00
parent 5f790967b0
commit cf1de9c6ca
2 changed files with 2 additions and 0 deletions

View file

@ -22,6 +22,7 @@ class _AppSelectorViewState extends State<AppSelectorView> {
onModelReady: (model) => model.initialize(),
viewModelBuilder: () => AppSelectorViewModel(),
builder: (context, model, child) => Scaffold(
resizeToAvoidBottomInset: false,
floatingActionButton: FloatingActionButton.extended(
label: I18nText('appSelectorView.storageButton'),
icon: const Icon(Icons.sd_storage),

View file

@ -25,6 +25,7 @@ class _PatchesSelectorViewState extends State<PatchesSelectorView> {
onModelReady: (model) => model.initialize(),
viewModelBuilder: () => PatchesSelectorViewModel(),
builder: (context, model, child) => Scaffold(
resizeToAvoidBottomInset: false,
floatingActionButton: Visibility(
visible: model.patches.isNotEmpty,
child: FloatingActionButton.extended(