merge fix

aamir_dev
Faiz Hashmi 1 year ago
parent f570ce09e1
commit ff22d2837d

@ -29,9 +29,9 @@ class ServiceProviderWidget extends StatelessWidget {
return const Center(child: CircularProgressIndicator());
} else {
return serviceVM.branches == null || serviceVM.branches!.data == null
? Center(child: Text(LocaleKeys.noBranchFound.tr(), fontSize: 16, color: MyColors.lightTextColor, fontWeight: MyFonts.Medium))
? Center(child: LocaleKeys.noBranchFound.tr().toText(fontSize: 16, color: MyColors.lightTextColor, fontWeight: MyFonts.Medium))
: serviceVM.homePageBranches.isEmpty
? Center(child: Text(LocaleKeys.no_branch.tr(), fontSize: 16, color: MyColors.lightTextColor, fontWeight: MyFonts.Medium))
? Center(child: LocaleKeys.no_branch.tr().toText(fontSize: 16, color: MyColors.lightTextColor, fontWeight: MyFonts.Medium))
: ListView.builder(
itemCount: serviceVM.homePageBranches.length,
scrollDirection: Axis.horizontal,

Loading…
Cancel
Save