From 7be2826a0fa74a4b3d56b4be37be4122ab4e125f Mon Sep 17 00:00:00 2001 From: Inex Code Date: Wed, 14 Aug 2024 05:15:17 +0300 Subject: [PATCH] fix(ui): Useless SafeArea in services migration --- .../binds_migration/services_migration.dart | 58 +++++++++---------- 1 file changed, 28 insertions(+), 30 deletions(-) diff --git a/lib/ui/pages/server_storage/binds_migration/services_migration.dart b/lib/ui/pages/server_storage/binds_migration/services_migration.dart index 0c91161f..0fc2c7d2 100644 --- a/lib/ui/pages/server_storage/binds_migration/services_migration.dart +++ b/lib/ui/pages/server_storage/binds_migration/services_migration.dart @@ -108,40 +108,38 @@ class _ServicesMigrationPageState extends State { return Scaffold( appBar: PreferredSize( preferredSize: appBarHeight, - child: SafeArea( - child: Column( - children: [ - BrandHeader( - title: 'storage.data_migration_title'.tr(), - hasBackButton: true, + child: Column( + children: [ + BrandHeader( + title: 'storage.data_migration_title'.tr(), + hasBackButton: true, + ), + Padding( + padding: const EdgeInsets.symmetric( + horizontal: 16.0, + vertical: headerVerticalPadding, ), - Padding( - padding: const EdgeInsets.symmetric( - horizontal: 16.0, - vertical: headerVerticalPadding, - ), - child: Column( - children: [ - ...widget.diskStatus.diskVolumes.map( - (final volume) => Column( - children: [ - ServerStorageListItem( - volume: recalculatedDiskUsages( - volume, - widget.services, - ), - dense: true, + child: Column( + children: [ + ...widget.diskStatus.diskVolumes.map( + (final volume) => Column( + children: [ + ServerStorageListItem( + volume: recalculatedDiskUsages( + volume, + widget.services, ), - const SizedBox(height: headerVerticalPadding), - ], - ), + dense: true, + ), + const SizedBox(height: headerVerticalPadding), + ], ), - ], - ), + ), + ], ), - const Divider(height: 0), - ], - ), + ), + const Divider(height: 0), + ], ), ), body: ListView(