Browse Source

fix price decimals

Arnaud Vergnet 2 years ago
parent
commit
115534f1c6
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      src/screens/Services/Proximo/ProximoListScreen.tsx

+ 3
- 1
src/screens/Services/Proximo/ProximoListScreen.tsx View File

244
           >
244
           >
245
             {`${item.quantity} ${i18n.t('screens.proximo.inStock')}`}
245
             {`${item.quantity} ${i18n.t('screens.proximo.inStock')}`}
246
           </Subheading>
246
           </Subheading>
247
-          <Subheading style={styles.modalTitle}>{item.price}€</Subheading>
247
+          <Subheading style={styles.modalTitle}>
248
+            {item.price.toFixed(2)}€
249
+          </Subheading>
248
         </View>
250
         </View>
249
 
251
 
250
         <ScrollView>
252
         <ScrollView>

Loading…
Cancel
Save