From ab95db14344be2e8ffb65f31ee0c8c2f4d80537f Mon Sep 17 00:00:00 2001 From: Inex Code Date: Thu, 14 Nov 2024 20:51:03 +0300 Subject: [PATCH] refactor(ui): Move backup modals to the organisms folder --- .../modals}/backups/change_rotation_quotas_modal.dart | 0 .../modals}/backups/copy_encryption_key_modal.dart | 0 .../modals}/backups/create_backups_modal.dart | 0 .../modals}/backups/snapshot_modal.dart | 0 lib/ui/pages/backups/backup_details.dart | 8 ++++---- lib/ui/pages/backups/backups_list.dart | 2 +- 6 files changed, 5 insertions(+), 5 deletions(-) rename lib/ui/{pages => organisms/modals}/backups/change_rotation_quotas_modal.dart (100%) rename lib/ui/{pages => organisms/modals}/backups/copy_encryption_key_modal.dart (100%) rename lib/ui/{pages => organisms/modals}/backups/create_backups_modal.dart (100%) rename lib/ui/{pages => organisms/modals}/backups/snapshot_modal.dart (100%) diff --git a/lib/ui/pages/backups/change_rotation_quotas_modal.dart b/lib/ui/organisms/modals/backups/change_rotation_quotas_modal.dart similarity index 100% rename from lib/ui/pages/backups/change_rotation_quotas_modal.dart rename to lib/ui/organisms/modals/backups/change_rotation_quotas_modal.dart diff --git a/lib/ui/pages/backups/copy_encryption_key_modal.dart b/lib/ui/organisms/modals/backups/copy_encryption_key_modal.dart similarity index 100% rename from lib/ui/pages/backups/copy_encryption_key_modal.dart rename to lib/ui/organisms/modals/backups/copy_encryption_key_modal.dart diff --git a/lib/ui/pages/backups/create_backups_modal.dart b/lib/ui/organisms/modals/backups/create_backups_modal.dart similarity index 100% rename from lib/ui/pages/backups/create_backups_modal.dart rename to lib/ui/organisms/modals/backups/create_backups_modal.dart diff --git a/lib/ui/pages/backups/snapshot_modal.dart b/lib/ui/organisms/modals/backups/snapshot_modal.dart similarity index 100% rename from lib/ui/pages/backups/snapshot_modal.dart rename to lib/ui/organisms/modals/backups/snapshot_modal.dart diff --git a/lib/ui/pages/backups/backup_details.dart b/lib/ui/pages/backups/backup_details.dart index 660aa91a..229b8405 100644 --- a/lib/ui/pages/backups/backup_details.dart +++ b/lib/ui/pages/backups/backup_details.dart @@ -17,10 +17,10 @@ import 'package:selfprivacy/ui/helpers/modals.dart'; import 'package:selfprivacy/ui/layouts/brand_hero_screen.dart'; import 'package:selfprivacy/ui/molecules/cards/server_job_card.dart'; import 'package:selfprivacy/ui/pages/backups/change_period_modal.dart'; -import 'package:selfprivacy/ui/pages/backups/change_rotation_quotas_modal.dart'; -import 'package:selfprivacy/ui/pages/backups/copy_encryption_key_modal.dart'; -import 'package:selfprivacy/ui/pages/backups/create_backups_modal.dart'; -import 'package:selfprivacy/ui/pages/backups/snapshot_modal.dart'; +import 'package:selfprivacy/ui/organisms/modals/backups/change_rotation_quotas_modal.dart'; +import 'package:selfprivacy/ui/organisms/modals/backups/copy_encryption_key_modal.dart'; +import 'package:selfprivacy/ui/organisms/modals/backups/create_backups_modal.dart'; +import 'package:selfprivacy/ui/organisms/modals/backups/snapshot_modal.dart'; import 'package:selfprivacy/ui/router/router.dart'; import 'package:selfprivacy/utils/extensions/duration.dart'; diff --git a/lib/ui/pages/backups/backups_list.dart b/lib/ui/pages/backups/backups_list.dart index 6c667d68..a4618a73 100644 --- a/lib/ui/pages/backups/backups_list.dart +++ b/lib/ui/pages/backups/backups_list.dart @@ -9,7 +9,7 @@ import 'package:selfprivacy/logic/models/backup.dart'; import 'package:selfprivacy/logic/models/service.dart'; import 'package:selfprivacy/ui/helpers/modals.dart'; import 'package:selfprivacy/ui/layouts/brand_hero_screen.dart'; -import 'package:selfprivacy/ui/pages/backups/snapshot_modal.dart'; +import 'package:selfprivacy/ui/organisms/modals/backups/snapshot_modal.dart'; @RoutePage() class BackupsListPage extends StatelessWidget {