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,7 +244,9 @@ function ProximoListScreen(props: Props) {
244 244
           >
245 245
             {`${item.quantity} ${i18n.t('screens.proximo.inStock')}`}
246 246
           </Subheading>
247
-          <Subheading style={styles.modalTitle}>{item.price}€</Subheading>
247
+          <Subheading style={styles.modalTitle}>
248
+            {item.price.toFixed(2)}€
249
+          </Subheading>
248 250
         </View>
249 251
 
250 252
         <ScrollView>

Loading…
Cancel
Save