fix(ui): Useless SafeArea in services migration

This commit is contained in:
Inex Code 2024-08-14 05:15:17 +03:00
parent 1f60b5961c
commit 7be2826a0f

View file

@ -108,40 +108,38 @@ class _ServicesMigrationPageState extends State<ServicesMigrationPage> {
return Scaffold( return Scaffold(
appBar: PreferredSize( appBar: PreferredSize(
preferredSize: appBarHeight, preferredSize: appBarHeight,
child: SafeArea( child: Column(
child: Column( children: [
children: [ BrandHeader(
BrandHeader( title: 'storage.data_migration_title'.tr(),
title: 'storage.data_migration_title'.tr(), hasBackButton: true,
hasBackButton: true, ),
Padding(
padding: const EdgeInsets.symmetric(
horizontal: 16.0,
vertical: headerVerticalPadding,
), ),
Padding( child: Column(
padding: const EdgeInsets.symmetric( children: [
horizontal: 16.0, ...widget.diskStatus.diskVolumes.map(
vertical: headerVerticalPadding, (final volume) => Column(
), children: [
child: Column( ServerStorageListItem(
children: [ volume: recalculatedDiskUsages(
...widget.diskStatus.diskVolumes.map( volume,
(final volume) => Column( widget.services,
children: [
ServerStorageListItem(
volume: recalculatedDiskUsages(
volume,
widget.services,
),
dense: true,
), ),
const SizedBox(height: headerVerticalPadding), dense: true,
], ),
), const SizedBox(height: headerVerticalPadding),
],
), ),
], ),
), ],
), ),
const Divider(height: 0), ),
], const Divider(height: 0),
), ],
), ),
), ),
body: ListView( body: ListView(