all the changes are implemented

design_3.0_latest
WaseemAbbasi22 3 days ago
parent 87e31978f5
commit 5ccdcd087a

@ -274,8 +274,8 @@ class CategoryTabs {
static List<CategoryTabs> getTabs({required UsersTypes userType, required BuildContext context}) {
List<CategoryTabs> tabs = [];
if (userType == UsersTypes.engineer) {
tabs.add(CategoryTabs('Not Assigned', 0));
tabs.add(CategoryTabs('Open Request', 1));
tabs.add(CategoryTabs('Upcoming', 0));
tabs.add(CategoryTabs('Open', 1));
tabs.add(CategoryTabs('In Progress', 2));
tabs.add(CategoryTabs('Completed', 3));
return tabs;
@ -283,7 +283,7 @@ class CategoryTabs {
tabs.add(CategoryTabs('Open Request', 1));
tabs.add(CategoryTabs('In Progress', 2));
tabs.add(CategoryTabs('UpComing Request', 3));
tabs.add(CategoryTabs('Upcoming', 3));
tabs.add(CategoryTabs('Canceled', 6));
return tabs;
}

@ -58,7 +58,7 @@ class _ServiceRequestDetailMainState extends State<ServiceRequestDetailMain> {
},
child: Scaffold(
backgroundColor: AppColor.neutral100,
appBar: DefaultAppBar(title: context.translation.serviceDetails,
appBar: DefaultAppBar(title: context.translation.cmDetails,
onBackPress: (){
stopTimer();
Navigator.pop(context);

Loading…
Cancel
Save