feat : sale in the province
This commit is contained in:
@@ -11,6 +11,14 @@ extension xStringUtils on String {
|
||||
|
||||
get faItem => utilsMap[this] ?? this;
|
||||
|
||||
get buyerIsGuild {
|
||||
final tmp = split('_');
|
||||
if (tmp.length > 1) {
|
||||
return tmp.last == 'guild';
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Map<String, String> utilsMap = {
|
||||
@@ -21,5 +29,5 @@ Map<String, String> utilsMap = {
|
||||
'free': 'آزاد',
|
||||
'pending': 'در انتظار',
|
||||
'accepted': 'تایید شده',
|
||||
'guild':'صنف'
|
||||
'guild': 'صنف',
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user