Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: icon following library update #2839

Merged
merged 1 commit into from
Nov 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/components/close-cross/close-cross.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const CloseCross: React.FC<Props> = ({ onPress, color }) => {

return (
<View style={styles.iconContainer}>
<Icon name="ios-close" style={styles.icon} onPress={onPress} color={color} />
<Icon name="close" style={styles.icon} onPress={onPress} color={color} />
</View>
)
}
2 changes: 1 addition & 1 deletion app/components/contact-modal/contact-modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ const ContactModal: React.FC<Props> = ({
{
id: SupportChannels.WhatsApp,
name: LL.support.whatsapp(),
icon: <Icon name={"ios-logo-whatsapp"} type="ionicon" color={colors.black} />,
icon: <Icon name={"logo-whatsapp"} type="ionicon" color={colors.black} />,
action: () => {
openWhatsAppAction(messageBody)
toggleModal()
Expand Down
2 changes: 1 addition & 1 deletion app/components/menu-select/item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export const Item: React.FC<ItemProps> = ({
<ListItem {...props} key={value} bottomDivider onPress={onPress}>
<View style={styles.iconContainer}>
{showActivityIndicator && <ActivityIndicator />}
{selected && <Icon name="ios-checkmark-circle" size={18} color={colors.green} />}
{selected && <Icon name="checkmark-circle" size={18} color={colors.green} />}
</View>
<ListItem.Title {...(testPropId ? testProps(testPropId) : {})}>
{children}
Expand Down
4 changes: 2 additions & 2 deletions app/components/modal-nfc/modal-nfc.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -205,13 +205,13 @@ export const ModalNfc: React.FC<{
<Pressable style={styles.flex} onPress={dismiss}></Pressable>
<SafeAreaView style={styles.modalForeground}>
<View style={styles.iconContainer}>
<Icon name="ios-remove" size={72} color={colors.grey3} style={styles.icon} />
<Icon name="remove" size={72} color={colors.grey3} style={styles.icon} />
</View>
<Text type="h1" bold style={styles.message}>
{LL.SettingsScreen.nfcScanNow()}
</Text>
<View style={styles.scanIconContainer}>
<Icon name="ios-scan" size={140} color={colors.grey1} />
<Icon name="scan" size={140} color={colors.grey1} />
</View>
<View style={styles.buttonContainer}>
<GaloySecondaryButton title={LL.common.cancel()} onPress={dismiss} />
Expand Down
2 changes: 1 addition & 1 deletion app/screens/earns-screen/earns-quiz.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ export const EarnQuiz = ({ route }: Props) => {
<View style={styles.modalBackground}>
<View style={{ height: 14 }}>
<Icon
name="ios-remove"
name="remove"
size={72}
color={colors._lightGrey}
style={{ height: 40, top: -30 }}
Expand Down
2 changes: 1 addition & 1 deletion app/screens/earns-screen/earns-section.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ export const EarnSection = ({ route }: Props) => {
icon={
item.completed ? (
<Icon
name="ios-checkmark-circle-outline"
name="checkmark-circle-outline"
size={36}
color={colors._white}
style={styles.icon}
Expand Down
2 changes: 1 addition & 1 deletion app/screens/home-screen/home-screen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ export const HomeScreen: React.FC = () => {
</TouchableWithoutFeedback>
</View>
<View style={styles.viewModal}>
<Icon name="ios-remove" size={64} color={colors.grey3} style={styles.icon} />
<Icon name="remove" size={64} color={colors.grey3} style={styles.icon} />
<Text type="h1">{LL.common.needWallet()}</Text>
<View style={styles.openWalletContainer}>
<GaloyPrimaryButton
Expand Down
2 changes: 1 addition & 1 deletion app/screens/people-screen/contacts/all-contacts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ export const AllContactsScreen: React.FC = () => {
containerStyle={styles.itemContainer}
onPress={() => navigation.navigate("contactDetail", { contact: item })}
>
<Icon name={"ios-person-outline"} size={24} color={colors.primary} />
<Icon name={"person-outline"} size={24} color={colors.primary} />
<ListItem.Content>
<ListItem.Title style={styles.itemText}>{item.alias}</ListItem.Title>
</ListItem.Content>
Expand Down
2 changes: 1 addition & 1 deletion app/screens/people-screen/contacts/contacts-detail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export const ContactsDetailScreenJSX: React.FC<ContactDetailScreenProps> = ({
<View style={styles.aliasView}>
<Icon
{...testProps("contact-detail-icon")}
name="ios-person-outline"
name="person-outline"
size={86}
color={colors.black}
/>
Expand Down
2 changes: 1 addition & 1 deletion app/screens/receive-bitcoin-screen/qr-view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const configByType = {
copyToClipboardLabel: "ReceiveScreen.copyClipboard",
shareButtonLabel: "common.shareLightning",
ecl: "L" as const,
icon: "ios-flash",
icon: "flash",
},
[Invoice.OnChain]: {
copyToClipboardLabel: "ReceiveScreen.copyClipboardBitcoin",
Expand Down
4 changes: 2 additions & 2 deletions app/screens/send-bitcoin-screen/scanning-qrcode-screen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ export const ScanningQRCodeScreen: React.FC = () => {
<Svg viewBox="0 0 100 100">
<Circle cx={50} cy={50} r={50} fill={colors._white} opacity={0.5} />
</Svg>
<Icon name="ios-close" size={64} style={styles.iconClose} />
<Icon name="close" size={64} style={styles.iconClose} />
</View>
</Pressable>
<View style={styles.openGallery}>
Expand All @@ -297,7 +297,7 @@ export const ScanningQRCodeScreen: React.FC = () => {
<Pressable onPress={handleInvoicePaste}>
{/* we could Paste from "FontAwesome" but as svg*/}
<Icon
name="ios-clipboard-outline"
name="clipboard-outline"
size={64}
color={colors._lightGrey}
style={styles.iconClipboard}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ const SendBitcoinDestinationScreen: React.FC<Props> = ({ route }) => {
>
<View style={styles.iconContainer}>
{/* we could Paste from "FontAwesome" but as svg*/}
<Icon name="ios-clipboard-outline" color={colors.primary} size={22} />
<Icon name="clipboard-outline" color={colors.primary} size={22} />
</View>
</TouchableWithoutFeedback>
</View>
Expand Down
4 changes: 2 additions & 2 deletions app/screens/settings-screen/account-screen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ export const AccountScreen = () => {
{
category: LL.AccountScreen.accountLevel(),
id: "level",
icon: "ios-flash-outline",
icon: "flash-outline",
subTitleText: currentLevel,
enabled: false,
greyed: true,
Expand Down Expand Up @@ -531,7 +531,7 @@ export const AccountScreen = () => {
accountSettingsList.push({
category: LL.AccountScreen.logOutAndDeleteLocalData(),
id: "logout",
icon: "ios-log-out-outline",
icon: "log-out-outline",
action: logoutAlert,
enabled: true,
greyed: false,
Expand Down
6 changes: 3 additions & 3 deletions app/screens/settings-screen/settings-screen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ export const SettingsScreen: React.FC = () => {
},
{
category: LL.common.language(),
icon: "ios-language",
icon: "language",
id: "language",
subTitleText: language,
action: () => navigation.navigate("language"),
Expand All @@ -243,7 +243,7 @@ export const SettingsScreen: React.FC = () => {
},
{
category: `${LL.common.currency()}`,
icon: "ios-cash-outline",
icon: "cash-outline",
id: "currency",
action: () => navigation.navigate("currency"),
subTitleText: displayCurrency,
Expand Down Expand Up @@ -277,7 +277,7 @@ export const SettingsScreen: React.FC = () => {
},
{
category: LL.common.csvExport(),
icon: "ios-download-outline",
icon: "download-outline",
id: "csv",
action: fetchCsvTransactions,
enabled: isAtLeastLevelZero && !loadingCsvTransactions,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@
},
{
"filename" : "1024.png",
"idiom" : "ios-marketing",
"idiom" : "marketing",
"scale" : "1x",
"size" : "1024x1024"
}
Expand Down