mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
Fixed #497
This commit is contained in:
@ -1,4 +1,3 @@
|
||||
import analytics from '@components/analytics'
|
||||
import Icon from '@components/Icon'
|
||||
import { MenuContainer, MenuRow } from '@components/Menu'
|
||||
import { useNavigation } from '@react-navigation/native'
|
||||
@ -33,29 +32,20 @@ const SettingsTooot: React.FC = () => {
|
||||
<Icon name='MessageSquare' size={StyleConstants.Font.Size.M} color={colors.secondary} />
|
||||
}
|
||||
iconBack='ChevronRight'
|
||||
onPress={() => {
|
||||
analytics('settings_feedback_press')
|
||||
Linking.openURL('https://feedback.tooot.app/feature-requests')
|
||||
}}
|
||||
onPress={() => Linking.openURL('https://feedback.tooot.app/feature-requests')}
|
||||
/>
|
||||
<MenuRow
|
||||
title={t('me.settings.support.heading')}
|
||||
content={<Icon name='Heart' size={StyleConstants.Font.Size.M} color={colors.red} />}
|
||||
iconBack='ChevronRight'
|
||||
onPress={() => {
|
||||
analytics('settings_support_press')
|
||||
Linking.openURL('https://www.buymeacoffee.com/xmflsct')
|
||||
}}
|
||||
onPress={() => Linking.openURL('https://www.buymeacoffee.com/xmflsct')}
|
||||
/>
|
||||
{isDevelopment || isRelease ? (
|
||||
<MenuRow
|
||||
title={t('me.settings.review.heading')}
|
||||
content={<Icon name='Star' size={StyleConstants.Font.Size.M} color='#FF9500' />}
|
||||
iconBack='ChevronRight'
|
||||
onPress={() => {
|
||||
analytics('settings_review_press')
|
||||
StoreReview?.isAvailableAsync().then(() => StoreReview?.requestReview())
|
||||
}}
|
||||
onPress={() => StoreReview?.isAvailableAsync().then(() => StoreReview?.requestReview())}
|
||||
/>
|
||||
) : null}
|
||||
<MenuRow
|
||||
|
Reference in New Issue
Block a user