feat: refactor financial wallet UI components and add offline map service support
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
// lib/models/model/order_data.dart
|
||||
|
||||
import 'package:get/get.dart';
|
||||
|
||||
class OrderData {
|
||||
final String customerName;
|
||||
final String customerToken;
|
||||
@@ -122,17 +124,17 @@ class OrderData {
|
||||
static String _getRideType(String type) {
|
||||
switch (type) {
|
||||
case 'Comfort':
|
||||
return 'كمفورت ❄️';
|
||||
return 'Comfort ❄️'.tr;
|
||||
case 'Lady':
|
||||
return 'ليدي 👩';
|
||||
return 'Lady 👩'.tr;
|
||||
case 'Speed':
|
||||
return 'سبيد 🔻';
|
||||
return 'Speed 🔻'.tr;
|
||||
case 'Mashwari':
|
||||
return 'مشواري';
|
||||
return 'Mashwari'.tr;
|
||||
case 'Rayeh Gai':
|
||||
return 'رايح جاي';
|
||||
return 'Rayeh Gai'.tr;
|
||||
default:
|
||||
return type;
|
||||
return type.tr;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user