fix: Black bars on top of pages

This commit is contained in:
Inex Code 2024-07-24 14:43:19 +03:00
parent da073b7454
commit 39babdeeaa
2 changed files with 89 additions and 91 deletions

View file

@ -44,8 +44,7 @@ class _ConsolePageState extends State<ConsolePage> {
Widget build(final BuildContext context) {
final List<ConsoleLog> logs = console.logs;
return SafeArea(
child: Scaffold(
return Scaffold(
appBar: AppBar(
title: Text('console_page.title'.tr()),
leading: IconButton(
@ -68,7 +67,6 @@ class _ConsolePageState extends State<ConsolePage> {
? const _ConsoleViewEmpty()
: _ConsoleViewLoaded(logs: logs),
),
),
);
}
}

View file

@ -105,10 +105,10 @@ class _ServicesMigrationPageState extends State<ServicesMigrationPage> {
listItemHeight * widget.diskStatus.diskVolumes.length +
headerVerticalPadding * widget.diskStatus.diskVolumes.length,
);
return SafeArea(
child: Scaffold(
return Scaffold(
appBar: PreferredSize(
preferredSize: appBarHeight,
child: SafeArea(
child: Column(
children: [
BrandHeader(
@ -143,6 +143,7 @@ class _ServicesMigrationPageState extends State<ServicesMigrationPage> {
],
),
),
),
body: ListView(
padding: const EdgeInsets.all(16.0),
children: <Widget>[
@ -211,7 +212,6 @@ class _ServicesMigrationPageState extends State<ServicesMigrationPage> {
const SizedBox(height: 32),
],
),
),
);
}
}