mirror of
https://github.com/tooot-app/app
synced 2025-01-20 21:10:33 +01:00
Add feature request link
This commit is contained in:
parent
98186e1f2b
commit
f96e9af7b9
@ -240,6 +240,9 @@
|
||||
"cancel": "$t(common:buttons.cancel)"
|
||||
}
|
||||
},
|
||||
"feedback": {
|
||||
"heading": "Feature Requests"
|
||||
},
|
||||
"support": {
|
||||
"heading": "Support tooot"
|
||||
},
|
||||
|
@ -11,7 +11,7 @@ import React from 'react'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
import { useSelector } from 'react-redux'
|
||||
import { getInstanceActive } from '@utils/slices/instancesSlice'
|
||||
import { isCandidate, isDevelopment } from '@utils/checkEnvironment'
|
||||
import { isDevelopment, isRelease } from '@utils/checkEnvironment'
|
||||
|
||||
const SettingsTooot: React.FC = () => {
|
||||
const instanceActive = useSelector(getInstanceActive)
|
||||
@ -21,6 +21,21 @@ const SettingsTooot: React.FC = () => {
|
||||
|
||||
return (
|
||||
<MenuContainer>
|
||||
<MenuRow
|
||||
title={t('me.settings.feedback.heading')}
|
||||
content={
|
||||
<Icon
|
||||
name='MessageSquare'
|
||||
size={StyleConstants.Font.Size.M}
|
||||
color={theme.secondary}
|
||||
/>
|
||||
}
|
||||
iconBack='ChevronRight'
|
||||
onPress={() => {
|
||||
analytics('settings_feedback_press')
|
||||
Linking.openURL('https://feedback.tooot.app/')
|
||||
}}
|
||||
/>
|
||||
<MenuRow
|
||||
title={t('me.settings.support.heading')}
|
||||
content={
|
||||
@ -36,7 +51,7 @@ const SettingsTooot: React.FC = () => {
|
||||
Linking.openURL('https://www.buymeacoffee.com/xmflsct')
|
||||
}}
|
||||
/>
|
||||
{isDevelopment || isCandidate ? (
|
||||
{isDevelopment || isRelease ? (
|
||||
<MenuRow
|
||||
title={t('me.settings.review.heading')}
|
||||
content={
|
||||
|
Loading…
Reference in New Issue
Block a user