From e4c5220fb40c0d292590e50a4734aec5cf92991d Mon Sep 17 00:00:00 2001 From: NaiJi Date: Fri, 11 Aug 2023 10:21:27 -0300 Subject: [PATCH] refactor: Rename isTherePendingChange to isVolumePicked on migration page --- .../server_storage/binds_migration/services_migration.dart | 5 ++--- 1 file changed, 2 insertions(+), 3 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 26e9b82e..edb7474e 100644 --- a/lib/ui/pages/server_storage/binds_migration/services_migration.dart +++ b/lib/ui/pages/server_storage/binds_migration/services_migration.dart @@ -55,7 +55,7 @@ class _ServicesMigrationPageState extends State { }); } - bool get isTherePendingChange { + bool get isVolumePicked { bool isChangeFound = false; for (final Service service in widget.services) { for (final String serviceId in serviceToDisk.keys) { @@ -171,8 +171,7 @@ class _ServicesMigrationPageState extends State { ), ), const SizedBox(height: 16), - if (widget.isMigration || - (!widget.isMigration && isTherePendingChange)) + if (widget.isMigration || (!widget.isMigration && isVolumePicked)) BrandButton.filled( child: Text('storage.start_migration_button'.tr()), onPressed: () {