diff --git a/lib/views/pages/user/requests/create_service_request_page.dart b/lib/views/pages/user/requests/create_service_request_page.dart index 2c454fdf..041fc1ff 100644 --- a/lib/views/pages/user/requests/create_service_request_page.dart +++ b/lib/views/pages/user/requests/create_service_request_page.dart @@ -184,7 +184,7 @@ class CreateServiceRequestPageState extends State { return Transform.scale( scale: 0.8, child: CupertinoSwitch( - thumbColor: Color(0xffF63939), + thumbColor: _serviceRequest?.priority?.value != 0 ? Color(0xffF63939) : Colors.blueGrey.withOpacity(.5), activeColor: AppColor.blueStatus(context).withOpacity(.25), value: _serviceRequest?.priority?.value != 0, onChanged: (state) { @@ -334,7 +334,7 @@ class CreateServiceRequestPageState extends State { AppFilledButton( onPressed: checkPendingRequest ? null : _submit, loading: checkPendingRequest, - label: context.translation.submitRequest, + label: (pendingAssetServiceRequest != null && pendingAssetServiceRequest.details.isNotEmpty) ? "Submit Duplicate Request" : "Submit New Request", ), ], ),