@@ -3,6 +3,7 @@ import { Text, View, StyleSheet, TouchableOpacity } from 'react-native'
33
44import { paragraphStyles , vars } from '../../styles.js'
55import { t } from '../../stores/translationStore.js'
6+ import UiStore from '../../stores/UiStore.js'
67
78import Header from '../reusable/Header.jsx'
89import LinkedScroll from '../reusable/LinkedScroll.jsx'
@@ -11,6 +12,7 @@ import Toggle from '../reusable/Toggle.jsx'
1112import ClockIcon from '../../../dist/icons/clock.svg'
1213import LongnamesIcon from '../../../dist/icons/longnames.svg'
1314import FeedbackIcon from '../../../dist/icons/feedback.svg'
15+ import SponsorIcon from '../../../dist/icons/patron.svg'
1416import CreditsIcon from '../../../dist/icons/credits.svg'
1517
1618let styles
@@ -56,7 +58,7 @@ const Settings = () => {
5658 { fontSize : vars . smallFontSize , marginTop : 0 } ,
5759 ] }
5860 >
59- Build { process . env . VERSION } - { process . env . BRANCH }
61+ Build { process . env . VERSION }
6062 </ Text >
6163 < Text style = { paragraphStyles . p } >
6264 { t ( 'settings.license' ) } { t ( 'settings.contributions' ) }
@@ -85,13 +87,21 @@ const Settings = () => {
8587 < TouchableOpacity >
8688 < View
8789 style = { styles . button }
88- accessibilityRole = "link"
89- href = "https://twitter.com/dymajoltd"
90+ onClick = { ( ) => UiStore . safePush ( '/feedback' ) }
9091 >
9192 < FeedbackIcon />
9293 < Text style = { styles . buttonText } > { t ( 'settings.more.feedback' ) } </ Text >
9394 </ View >
9495 </ TouchableOpacity >
96+ < TouchableOpacity >
97+ < View
98+ style = { styles . button }
99+ onClick = { ( ) => UiStore . safePush ( '/sponsor' ) }
100+ >
101+ < SponsorIcon />
102+ < Text style = { styles . buttonText } > { t ( 'settings.more.sponsor' ) } </ Text >
103+ </ View >
104+ </ TouchableOpacity >
95105 { credits ? (
96106 < View >
97107 < Text style = { paragraphStyles . p } >
0 commit comments