⏪ Rewind AI slop
This commit is contained in:
@@ -314,6 +314,9 @@ class AppScaffold extends HookConsumerWidget {
|
|||||||
return null;
|
return null;
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
|
final appBarHeight = appBar?.preferredSize.height ?? 0;
|
||||||
|
final safeTop = MediaQuery.of(context).padding.top;
|
||||||
|
|
||||||
final noBackground = isNoBackground ?? isWideScreen(context);
|
final noBackground = isNoBackground ?? isWideScreen(context);
|
||||||
|
|
||||||
final builtWidget = Focus(
|
final builtWidget = Focus(
|
||||||
@@ -322,7 +325,16 @@ class AppScaffold extends HookConsumerWidget {
|
|||||||
extendBody: extendBody ?? true,
|
extendBody: extendBody ?? true,
|
||||||
extendBodyBehindAppBar: true,
|
extendBodyBehindAppBar: true,
|
||||||
backgroundColor: Colors.transparent,
|
backgroundColor: Colors.transparent,
|
||||||
body: body,
|
body: Column(
|
||||||
|
children: [
|
||||||
|
IgnorePointer(
|
||||||
|
child: SizedBox(
|
||||||
|
height: appBar != null ? appBarHeight + safeTop : 0,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
if (body != null) Expanded(child: body!),
|
||||||
|
],
|
||||||
|
),
|
||||||
appBar: appBar,
|
appBar: appBar,
|
||||||
bottomNavigationBar: bottomNavigationBar,
|
bottomNavigationBar: bottomNavigationBar,
|
||||||
bottomSheet: bottomSheet,
|
bottomSheet: bottomSheet,
|
||||||
|
|||||||
Reference in New Issue
Block a user