Changement fresh-water vers ice_water

This commit is contained in:
Gabriel
2023-06-05 16:58:30 +02:00
parent 150ca82f74
commit 026a4382e4

View File

@@ -91,6 +91,8 @@ class ShipProvider {
};
String newsymbol = symbol.toUpperCase().replaceAll(' ', '_');
if(newsymbol == 'FRESH_WATER')
newsymbol = 'ICE_WATER';
Map<String, dynamic> body = {
'symbol': '$newsymbol',
'units': units,