1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-26 22:41:17 +02:00

Added donation links

This commit is contained in:
Laurent Cozic
2018-03-09 09:09:13 +00:00
parent 32791f502e
commit d114d14e87
3 changed files with 811 additions and 1 deletions

View File

@@ -200,11 +200,19 @@ class ConfigScreenComponent extends BaseScreenComponent {
</View>
</View>);
}
settingComps.push(
<View key="donate_link" style={this.styles().settingContainer}>
<TouchableOpacity onPress={() => { Linking.openURL('http://joplin.cozic.net/donate/') }}>
<Text key="label" style={this.styles().linkText}>{_('Make a donation')}</Text>
</TouchableOpacity>
</View>
);
settingComps.push(
<View key="website_link" style={this.styles().settingContainer}>
<TouchableOpacity onPress={() => { Linking.openURL('http://joplin.cozic.net/') }}>
<Text key="label" style={this.styles().linkText}>Joplin Website</Text>
<Text key="label" style={this.styles().linkText}>{_('Joplin website')}</Text>
</TouchableOpacity>
</View>
);