From 9b1abb140833a3f7243f99c6f90120610c71b30c Mon Sep 17 00:00:00 2001 From: Inex Code Date: Fri, 15 Nov 2024 15:03:14 +0300 Subject: [PATCH] refactor(ui): Finish refactoring backup modals --- .../modals}/backups/change_period_modal.dart | 0 .../organisms/modals/backups/change_rotation_quotas_modal.dart | 2 +- lib/ui/pages/backups/backup_details.dart | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename lib/ui/{pages => organisms/modals}/backups/change_period_modal.dart (100%) diff --git a/lib/ui/pages/backups/change_period_modal.dart b/lib/ui/organisms/modals/backups/change_period_modal.dart similarity index 100% rename from lib/ui/pages/backups/change_period_modal.dart rename to lib/ui/organisms/modals/backups/change_period_modal.dart diff --git a/lib/ui/organisms/modals/backups/change_rotation_quotas_modal.dart b/lib/ui/organisms/modals/backups/change_rotation_quotas_modal.dart index 19b39151..cc4556d6 100644 --- a/lib/ui/organisms/modals/backups/change_rotation_quotas_modal.dart +++ b/lib/ui/organisms/modals/backups/change_rotation_quotas_modal.dart @@ -243,7 +243,7 @@ class QuotaSelectionTile extends StatelessWidget { if (value < -1 || value > max) Text( 'Manually set to $value', - style: Theme.of(context).textTheme.headlineSmall, + style: Theme.of(context).textTheme.bodyLarge, ), ], ); diff --git a/lib/ui/pages/backups/backup_details.dart b/lib/ui/pages/backups/backup_details.dart index 229b8405..ae6c777c 100644 --- a/lib/ui/pages/backups/backup_details.dart +++ b/lib/ui/pages/backups/backup_details.dart @@ -16,7 +16,7 @@ import 'package:selfprivacy/ui/atoms/icons/brand_icons.dart'; 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/organisms/modals/backups/change_period_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';