ADD: Telegram and Discord links on about section

This commit is contained in:
ncoelho 2020-12-19 17:34:09 +00:00 committed by Overtorment
parent 1059793e65
commit 9aadc6789a
2 changed files with 10 additions and 9 deletions

View File

@ -232,7 +232,8 @@
"about_review": "Leave us a review",
"about_selftest": "Run self-test",
"about_sm_github": "GitHub",
"about_sm_telegram": "Telegram chat",
"about_sm_discord": "Discord Server",
"about_sm_telegram": "Telegram channel",
"about_sm_twitter": "Follow us on Twitter",
"advanced_options": "Advanced Options",
"currency": "Currency",

View File

@ -71,12 +71,12 @@ const About = () => {
Linking.openURL('https://twitter.com/bluewalletio');
};
const handleOnGithubPress = () => {
Linking.openURL('https://github.com/BlueWallet/BlueWallet');
const handleOnDiscordPress = () => {
Linking.openURL('https://discord.gg/btWq2Aby2z');
};
const handleOnTelegramPress = () => {
Linking.openURL('https://t.me/bluewallet');
Linking.openURL('https://t.me/bluewallethat');
};
const handleOnRatePress = () => {
@ -126,12 +126,12 @@ const About = () => {
/>
<BlueListItem
leftIcon={{
name: 'github',
type: 'font-awesome',
color: colors.foregroundColor,
name: 'discord',
type: 'font-awesome-5',
color: '#7289da',
}}
onPress={handleOnGithubPress}
title={loc.settings.about_sm_github}
onPress={handleOnDiscordPress}
title={loc.settings.about_sm_discord}
/>
<BlueCard>
<View style={styles.buildWith}>