From 0967c7a7fae9000808aa19f8c5703da43a94c47e Mon Sep 17 00:00:00 2001 From: mikolaj-jalocha Date: Sat, 25 Jan 2025 20:25:00 +0100 Subject: [PATCH] chore(planner-advert): code cleanup --- .../academic_calendar/widgets/academic_calendar_consumer.dart | 2 +- lib/features/sks-menu/presentation/sks_menu_screen.dart | 2 +- .../horizontal_rectangular_section_loading.dart | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename lib/{features/home_view/widgets/loading_widgets => widgets/loading_widgets/simple_previews}/horizontal_rectangular_section_loading.dart (87%) diff --git a/lib/features/academic_calendar/widgets/academic_calendar_consumer.dart b/lib/features/academic_calendar/widgets/academic_calendar_consumer.dart index 18f1d0bf..d954b2be 100644 --- a/lib/features/academic_calendar/widgets/academic_calendar_consumer.dart +++ b/lib/features/academic_calendar/widgets/academic_calendar_consumer.dart @@ -2,8 +2,8 @@ import "package:flutter/material.dart"; import "package:flutter_riverpod/flutter_riverpod.dart"; import "../../../config/ui_config.dart"; +import "../../../widgets/loading_widgets/simple_previews/horizontal_rectangular_section_loading.dart"; import "../../../widgets/my_error_widget.dart"; -import "../../home_view/widgets/loading_widgets/horizontal_rectangular_section_loading.dart"; import "../repository/academic_calendar_repo.dart"; import "countdown_widget/exam_session_countdown.dart"; import "home_screen_greeting.dart"; diff --git a/lib/features/sks-menu/presentation/sks_menu_screen.dart b/lib/features/sks-menu/presentation/sks_menu_screen.dart index d466abe3..f33be462 100644 --- a/lib/features/sks-menu/presentation/sks_menu_screen.dart +++ b/lib/features/sks-menu/presentation/sks_menu_screen.dart @@ -15,6 +15,7 @@ import "../../../widgets/detail_views/detail_view_app_bar.dart"; import "../../../widgets/horizontal_symmetric_safe_area.dart"; import "../../../widgets/my_error_widget.dart"; import "../../../widgets/my_text_button.dart"; +import "../../../widgets/technical_message.dart"; import "../../../widgets/text_and_url_widget.dart"; import "../../sks_people_live/presentation/widgets/sks_user_data_button.dart"; import "../data/models/sks_menu_response.dart"; @@ -22,7 +23,6 @@ import "../data/repository/sks_menu_repository.dart"; import "widgets/sks_menu_header.dart"; import "widgets/sks_menu_section.dart"; import "widgets/sks_menu_view_loading.dart"; -import "widgets/technical_message.dart"; @RoutePage() class SksMenuView extends HookConsumerWidget { diff --git a/lib/features/home_view/widgets/loading_widgets/horizontal_rectangular_section_loading.dart b/lib/widgets/loading_widgets/simple_previews/horizontal_rectangular_section_loading.dart similarity index 87% rename from lib/features/home_view/widgets/loading_widgets/horizontal_rectangular_section_loading.dart rename to lib/widgets/loading_widgets/simple_previews/horizontal_rectangular_section_loading.dart index 348fa0b9..e8fccd6b 100644 --- a/lib/features/home_view/widgets/loading_widgets/horizontal_rectangular_section_loading.dart +++ b/lib/widgets/loading_widgets/simple_previews/horizontal_rectangular_section_loading.dart @@ -1,6 +1,6 @@ import "package:flutter/material.dart"; -import "../../../../widgets/loading_widgets/shimmer_loading.dart"; +import "../shimmer_loading.dart"; class HorizontalRectangularSectionLoading extends StatelessWidget { const HorizontalRectangularSectionLoading({super.key});