fix(ui_layout): fix bottom navbar layouts
Some checks failed
continuous-integration/drone/pr Build is failing

This commit is contained in:
Malo Léon 2023-08-30 16:30:24 +02:00
parent 3911942a81
commit 008facdb6c

View File

@ -57,9 +57,13 @@ class BottomNavigationBarLayout extends StructuralLayout {
Widget build(BuildContext context) => Scaffold(
body: body,
bottomNavigationBar: custom?.call(
context.components.bottomNavigationBarComponent(barId).call(),
context.components
.bottomNavigationBarComponentOrNull(barId)
?.call(),
) ??
context.components.bottomNavigationBarComponent(barId).call(),
context.components
.bottomNavigationBarComponentOrNull(barId)
?.call(),
floatingActionButtonLocation:
scaffoldFieldsWrapper?.floatingActionButtonLocation,
floatingActionButtonAnimator: