Dropped the JIRA Count to 23

aamir_dev
Faiz Hashmi 11 months ago
parent f9584c14cc
commit 8a2f2fbdb6

@ -94,53 +94,52 @@ class HomeFragment extends StatelessWidget {
], ],
); );
} }
return SizedBox(); return SizedBox();
}, },
), ),
// NEARBY BRANCHES SECTION // NEARBY BRANCHES SECTION
7.height, // 7.height,
Consumer( // Consumer(
builder: (BuildContext context, AppointmentsVM appointmentVM, Widget? child) { // builder: (BuildContext context, AppointmentsVM appointmentVM, Widget? child) {
if (appointmentVM.state == ViewState.busy) { // if (appointmentVM.state == ViewState.busy) {
return Center(child: CircularProgressIndicator()); // return Center(child: CircularProgressIndicator());
} // }
//
if (appointmentVM.myRecentBranches.isNotEmpty) { // if (appointmentVM.myRecentBranches.isNotEmpty) {
return Column( // return Column(
children: [ // children: [
ViewAllWidget( // ViewAllWidget(
title: LocaleKeys.myRecentBranches.tr().toUpperCase(), // title: LocaleKeys.myRecentBranches.tr().toUpperCase(),
subTitle: '', // subTitle: '',
onSubtitleTapped: () { // onSubtitleTapped: () {
// context.read<DashboardVmCustomer>().onNavbarTapped(0); // // context.read<DashboardVmCustomer>().onNavbarTapped(0);
// context.read<AppointmentsVM>().applyFilterOnBranches(index: 0); // // context.read<AppointmentsVM>().applyFilterOnBranches(index: 0);
}, // },
).horPaddingMain(), // ).horPaddingMain(),
MyRecentBranchesWidget(nearbyBranches: appointmentVM.myRecentBranches).horPaddingMain(), // MyRecentBranchesWidget(nearbyBranches: appointmentVM.myRecentBranches).horPaddingMain(),
], // ],
); // );
} // }
if (appointmentVM.nearbyBranches.isNotEmpty) { // if (appointmentVM.nearbyBranches.isNotEmpty) {
return Column( // return Column(
children: [ // children: [
ViewAllWidget( // ViewAllWidget(
title: LocaleKeys.myNearbyBranches.tr().toUpperCase(), // title: LocaleKeys.myNearbyBranches.tr().toUpperCase(),
subTitle: LocaleKeys.view_all.tr(), // subTitle: LocaleKeys.view_all.tr(),
onSubtitleTapped: () { // onSubtitleTapped: () {
context.read<DashboardVmCustomer>().onNavbarTapped(0); // context.read<DashboardVmCustomer>().onNavbarTapped(0);
context.read<AppointmentsVM>().applyFilterOnBranches(index: 0); // context.read<AppointmentsVM>().applyFilterOnBranches(index: 0);
}, // },
).horPaddingMain(), // ).horPaddingMain(),
MyRecentBranchesWidget(nearbyBranches: appointmentVM.nearbyBranches).horPaddingMain(), // MyRecentBranchesWidget(nearbyBranches: appointmentVM.nearbyBranches).horPaddingMain(),
], // ],
); // );
} // }
//
return SizedBox(); // return SizedBox();
}, // },
), // ),
// ADS SECTION // ADS SECTION
Consumer( Consumer(

@ -37,8 +37,8 @@ dependencies:
mc_common_app: mc_common_app:
# path: D:\Development\car_common_app # path: D:\Development\car_common_app
# path: /Volumes/Data/Projects/Flutter/car_common_app path: /Volumes/Data/Projects/Flutter/car_common_app
path: /Users/faizhashmi/Development/Projects/MyProjects/CloudSolutions/car_common_app # path: /Users/faizhashmi/Development/Projects/MyProjects/CloudSolutions/car_common_app
dev_dependencies: dev_dependencies:
flutter_test: flutter_test:

Loading…
Cancel
Save