diff --git a/lib/ui/helpers/empty_page_placeholder.dart b/lib/ui/molecules/placeholders/empty_page_placeholder.dart similarity index 94% rename from lib/ui/helpers/empty_page_placeholder.dart rename to lib/ui/molecules/placeholders/empty_page_placeholder.dart index 621ad65c..8e713b2d 100644 --- a/lib/ui/helpers/empty_page_placeholder.dart +++ b/lib/ui/molecules/placeholders/empty_page_placeholder.dart @@ -24,8 +24,8 @@ class EmptyPagePlaceholder extends StatelessWidget { if (showReadyCard) const Padding( padding: EdgeInsets.symmetric( - vertical: 15, - horizontal: 15, + vertical: 16, + horizontal: 16, ), child: NotReadyCard(), ), @@ -58,14 +58,14 @@ class _ContentWidget extends StatelessWidget { @override Widget build(final BuildContext context) => Container( - padding: const EdgeInsets.symmetric(horizontal: 20), + padding: const EdgeInsets.symmetric(horizontal: 16), child: Column( mainAxisAlignment: MainAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.center, children: [ Icon( iconData, - size: 50, + size: 48, color: Theme.of(context).colorScheme.onSurface, ), const Gap(16), diff --git a/lib/ui/pages/server_details/logs/logs_screen.dart b/lib/ui/pages/server_details/logs/logs_screen.dart index 95dc61fd..4d43937f 100644 --- a/lib/ui/pages/server_details/logs/logs_screen.dart +++ b/lib/ui/pages/server_details/logs/logs_screen.dart @@ -5,7 +5,7 @@ import 'package:flutter/material.dart'; import 'package:flutter_bloc/flutter_bloc.dart'; import 'package:selfprivacy/logic/bloc/server_logs/server_logs_bloc.dart'; import 'package:selfprivacy/logic/models/server_logs.dart'; -import 'package:selfprivacy/ui/helpers/empty_page_placeholder.dart'; +import 'package:selfprivacy/ui/molecules/placeholders/empty_page_placeholder.dart'; import 'package:selfprivacy/utils/platform_adapter.dart'; @RoutePage() diff --git a/lib/ui/pages/server_details/memory_usage_by_service_screen.dart b/lib/ui/pages/server_details/memory_usage_by_service_screen.dart index bf077a9f..099f908f 100644 --- a/lib/ui/pages/server_details/memory_usage_by_service_screen.dart +++ b/lib/ui/pages/server_details/memory_usage_by_service_screen.dart @@ -10,7 +10,7 @@ import 'package:selfprivacy/logic/cubit/metrics/metrics_cubit.dart'; import 'package:selfprivacy/logic/models/disk_size.dart'; import 'package:selfprivacy/ui/atoms/buttons/segmented_buttons.dart'; import 'package:selfprivacy/ui/atoms/icons/brand_icons.dart'; -import 'package:selfprivacy/ui/helpers/empty_page_placeholder.dart'; +import 'package:selfprivacy/ui/molecules/placeholders/empty_page_placeholder.dart'; import 'package:selfprivacy/ui/layouts/brand_hero_screen.dart'; @RoutePage() diff --git a/lib/ui/pages/services/services.dart b/lib/ui/pages/services/services.dart index 33c21c1b..daa72ea7 100644 --- a/lib/ui/pages/services/services.dart +++ b/lib/ui/pages/services/services.dart @@ -11,7 +11,7 @@ import 'package:selfprivacy/logic/models/service.dart'; import 'package:selfprivacy/logic/models/state_types.dart'; import 'package:selfprivacy/ui/atoms/icons/brand_icons.dart'; import 'package:selfprivacy/ui/atoms/masks/icon_status_mask.dart'; -import 'package:selfprivacy/ui/helpers/empty_page_placeholder.dart'; +import 'package:selfprivacy/ui/molecules/placeholders/empty_page_placeholder.dart'; import 'package:selfprivacy/ui/molecules/cards/server_outdated_card.dart'; import 'package:selfprivacy/ui/organisms/headers/brand_header.dart'; import 'package:selfprivacy/ui/router/router.dart'; diff --git a/lib/ui/pages/users/users.dart b/lib/ui/pages/users/users.dart index c420c58f..e90b060d 100644 --- a/lib/ui/pages/users/users.dart +++ b/lib/ui/pages/users/users.dart @@ -19,7 +19,7 @@ import 'package:selfprivacy/ui/atoms/buttons/outlined_button.dart'; import 'package:selfprivacy/ui/atoms/cards/filled_card.dart'; import 'package:selfprivacy/ui/atoms/icons/brand_icons.dart'; import 'package:selfprivacy/ui/atoms/list_tiles/list_tile_on_surface_variant.dart'; -import 'package:selfprivacy/ui/helpers/empty_page_placeholder.dart'; +import 'package:selfprivacy/ui/molecules/placeholders/empty_page_placeholder.dart'; import 'package:selfprivacy/ui/layouts/brand_hero_screen.dart'; import 'package:selfprivacy/ui/molecules/cards/server_outdated_card.dart'; import 'package:selfprivacy/ui/molecules/info_box/info_box.dart';