From 8ded51a55148f4668b7a42e780c9ab61d36f3d9e Mon Sep 17 00:00:00 2001 From: Marcos Rodriguez Velez Date: Mon, 17 Jun 2024 15:50:20 -0400 Subject: [PATCH] Update AddressInput.tsx --- components/AddressInput.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/AddressInput.tsx b/components/AddressInput.tsx index e4a81ba09..57402e7aa 100644 --- a/components/AddressInput.tsx +++ b/components/AddressInput.tsx @@ -1,5 +1,5 @@ import React, { useCallback, useMemo } from 'react'; -import { Image, Keyboard, StyleSheet, Text, TextInput, View } from 'react-native'; +import { Image, Keyboard, Platform, StyleSheet, Text, TextInput, View } from 'react-native'; import { scanQrHelper } from '../helpers/scan-qr'; import loc from '../loc'; @@ -210,7 +210,7 @@ const actionKeys = { const actionIcons = { ScanQR: { iconType: 'SYSTEM', - iconValue: 'qrcode', + iconValue: Platform.OS === 'ios' ? 'qrcode' : 'ic_menu_camera', }, ImportFile: { iconType: 'SYSTEM', @@ -218,7 +218,7 @@ const actionIcons = { }, ChoosePhoto: { iconType: 'SYSTEM', - iconValue: 'photo', + iconValue: Platform.OS === 'ios' ? 'photo' : 'ic_menu_gallery', }, Clipboard: { iconType: 'SYSTEM',