From ff22d2837d393c4abb2272c748ec66e5a333b180 Mon Sep 17 00:00:00 2001 From: Faiz Hashmi Date: Wed, 2 Oct 2024 09:55:55 +0300 Subject: [PATCH] merge fix --- lib/views/dashboard/widget/my_service_provider.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/views/dashboard/widget/my_service_provider.dart b/lib/views/dashboard/widget/my_service_provider.dart index 0e17630..5ca7081 100644 --- a/lib/views/dashboard/widget/my_service_provider.dart +++ b/lib/views/dashboard/widget/my_service_provider.dart @@ -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,