إضافة الهوية الجديدة Tripz
This commit is contained in:
@@ -132,10 +132,12 @@ class RpActions {
|
||||
isScrollControlled: true,
|
||||
builder: (context) {
|
||||
return Container(
|
||||
padding: const EdgeInsets.only(top: 12, left: 16, right: 16, bottom: 24),
|
||||
padding:
|
||||
const EdgeInsets.only(top: 12, left: 16, right: 16, bottom: 24),
|
||||
decoration: BoxDecoration(
|
||||
color: RP.sheetElevated,
|
||||
borderRadius: const BorderRadius.vertical(top: Radius.circular(RP.rSheet)),
|
||||
borderRadius:
|
||||
const BorderRadius.vertical(top: Radius.circular(RP.rSheet)),
|
||||
),
|
||||
child: Column(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
@@ -172,8 +174,10 @@ class RpActions {
|
||||
final modifiedPlace = Map<String, dynamic>.from(place);
|
||||
modifiedPlace['latitude'] = gate['latitude'];
|
||||
modifiedPlace['longitude'] = gate['longitude'];
|
||||
modifiedPlace['name_ar'] = '${place['name_ar'] ?? place['name'] ?? ''} - $gateName';
|
||||
modifiedPlace['name'] = '${place['name'] ?? place['name_ar'] ?? ''} - $gateName';
|
||||
modifiedPlace['name_ar'] =
|
||||
'${place['name_ar'] ?? place['name'] ?? ''} - $gateName';
|
||||
modifiedPlace['name'] =
|
||||
'${place['name'] ?? place['name_ar'] ?? ''} - $gateName';
|
||||
|
||||
if (isOrigin) {
|
||||
selectStart(modifiedPlace);
|
||||
|
||||
Reference in New Issue
Block a user