mirror of
https://github.com/tooot-app/app
synced 2025-02-01 11:06:56 +01:00
Add feature request link
This commit is contained in:
parent
98186e1f2b
commit
f96e9af7b9
@ -240,6 +240,9 @@
|
|||||||
"cancel": "$t(common:buttons.cancel)"
|
"cancel": "$t(common:buttons.cancel)"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"feedback": {
|
||||||
|
"heading": "Feature Requests"
|
||||||
|
},
|
||||||
"support": {
|
"support": {
|
||||||
"heading": "Support tooot"
|
"heading": "Support tooot"
|
||||||
},
|
},
|
||||||
|
@ -11,7 +11,7 @@ import React from 'react'
|
|||||||
import { useTranslation } from 'react-i18next'
|
import { useTranslation } from 'react-i18next'
|
||||||
import { useSelector } from 'react-redux'
|
import { useSelector } from 'react-redux'
|
||||||
import { getInstanceActive } from '@utils/slices/instancesSlice'
|
import { getInstanceActive } from '@utils/slices/instancesSlice'
|
||||||
import { isCandidate, isDevelopment } from '@utils/checkEnvironment'
|
import { isDevelopment, isRelease } from '@utils/checkEnvironment'
|
||||||
|
|
||||||
const SettingsTooot: React.FC = () => {
|
const SettingsTooot: React.FC = () => {
|
||||||
const instanceActive = useSelector(getInstanceActive)
|
const instanceActive = useSelector(getInstanceActive)
|
||||||
@ -21,6 +21,21 @@ const SettingsTooot: React.FC = () => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<MenuContainer>
|
<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
|
<MenuRow
|
||||||
title={t('me.settings.support.heading')}
|
title={t('me.settings.support.heading')}
|
||||||
content={
|
content={
|
||||||
@ -36,7 +51,7 @@ const SettingsTooot: React.FC = () => {
|
|||||||
Linking.openURL('https://www.buymeacoffee.com/xmflsct')
|
Linking.openURL('https://www.buymeacoffee.com/xmflsct')
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
{isDevelopment || isCandidate ? (
|
{isDevelopment || isRelease ? (
|
||||||
<MenuRow
|
<MenuRow
|
||||||
title={t('me.settings.review.heading')}
|
title={t('me.settings.review.heading')}
|
||||||
content={
|
content={
|
||||||
|
Loading…
x
Reference in New Issue
Block a user