From bcd973cf64fa5e54a3902ee1f61a75f0c9add95e Mon Sep 17 00:00:00 2001 From: Achintha Isuru Date: Tue, 10 Feb 2026 16:32:03 -0500 Subject: [PATCH] refactor: Update pubspec.yaml files and remove unnecessary background color in PaymentsPage for consistency --- apps/mobile/NEXT_SPRINT_TASKS.md | 3 ++- .../packages/features/staff/home/pubspec.yaml | 20 ++++++++--------- .../src/presentation/pages/payments_page.dart | 1 - .../features/staff/payments/pubspec.yaml | 22 +++++++++---------- 4 files changed, 22 insertions(+), 24 deletions(-) diff --git a/apps/mobile/NEXT_SPRINT_TASKS.md b/apps/mobile/NEXT_SPRINT_TASKS.md index 790e32cf..3647bdd5 100644 --- a/apps/mobile/NEXT_SPRINT_TASKS.md +++ b/apps/mobile/NEXT_SPRINT_TASKS.md @@ -50,4 +50,5 @@ - How do we handle the current bank account verifcaiton in the current legacy application. - We need have a show a list of clothing items in the staff app -> shift page. -- Template models for the pdf reports in the client and web apps. \ No newline at end of file +- Template models for the pdf reports in the client and web apps. +- remove `any` type and replace it with the correct types in the codebase. \ No newline at end of file diff --git a/apps/mobile/packages/features/staff/home/pubspec.yaml b/apps/mobile/packages/features/staff/home/pubspec.yaml index 3898f63e..e4e1225d 100644 --- a/apps/mobile/packages/features/staff/home/pubspec.yaml +++ b/apps/mobile/packages/features/staff/home/pubspec.yaml @@ -5,19 +5,10 @@ publish_to: none resolution: workspace environment: - sdk: '>=3.10.0 <4.0.0' + sdk: ">=3.10.0 <4.0.0" flutter: ">=3.0.0" dependencies: - flutter: - sdk: flutter - flutter_bloc: ^8.1.0 - bloc: ^8.1.0 - flutter_modular: ^6.3.0 - equatable: ^2.0.5 - intl: ^0.20.0 - google_fonts: ^7.0.0 - # Architecture Packages design_system: path: ../../../design_system @@ -31,6 +22,15 @@ dependencies: path: ../shifts krow_data_connect: path: ../../../data_connect + + flutter: + sdk: flutter + flutter_bloc: ^8.1.0 + bloc: ^8.1.0 + flutter_modular: ^6.3.0 + equatable: ^2.0.5 + intl: ^0.20.0 + google_fonts: ^7.0.0 firebase_data_connect: dev_dependencies: diff --git a/apps/mobile/packages/features/staff/payments/lib/src/presentation/pages/payments_page.dart b/apps/mobile/packages/features/staff/payments/lib/src/presentation/pages/payments_page.dart index d8c16d86..7801eed1 100644 --- a/apps/mobile/packages/features/staff/payments/lib/src/presentation/pages/payments_page.dart +++ b/apps/mobile/packages/features/staff/payments/lib/src/presentation/pages/payments_page.dart @@ -33,7 +33,6 @@ class _PaymentsPageState extends State { return BlocProvider.value( value: _bloc, child: Scaffold( - backgroundColor: const Color(0xFFF8FAFC), body: BlocBuilder( builder: (BuildContext context, PaymentsState state) { if (state is PaymentsLoading) { diff --git a/apps/mobile/packages/features/staff/payments/pubspec.yaml b/apps/mobile/packages/features/staff/payments/pubspec.yaml index 3712abe6..44ba5aa6 100644 --- a/apps/mobile/packages/features/staff/payments/pubspec.yaml +++ b/apps/mobile/packages/features/staff/payments/pubspec.yaml @@ -1,23 +1,14 @@ name: staff_payments description: Staff Payments feature version: 0.0.1 -publish_to: 'none' +publish_to: "none" resolution: workspace environment: - sdk: '>=3.10.0 <4.0.0' + sdk: ">=3.10.0 <4.0.0" flutter: ">=3.0.0" dependencies: - flutter: - sdk: flutter - firebase_data_connect: ^0.2.2+2 - firebase_auth: ^6.1.4 - flutter_modular: ^6.3.2 - lucide_icons: ^0.257.0 - intl: ^0.20.0 - fl_chart: ^0.66.0 - # Internal packages design_system: path: ../../../design_system @@ -30,10 +21,17 @@ dependencies: krow_data_connect: path: ../../../data_connect + flutter: + sdk: flutter + firebase_data_connect: ^0.2.2+2 + firebase_auth: ^6.1.4 + flutter_modular: ^6.3.2 + lucide_icons: ^0.257.0 + intl: ^0.20.0 + fl_chart: ^0.66.0 flutter_bloc: any equatable: any dev_dependencies: flutter_test: sdk: flutter flutter_lints: ^6.0.0 - \ No newline at end of file