forked from vergnet/application-amicale
Replace gitea feedback link with Discord
This commit is contained in:
parent
f168fd8f4d
commit
3c5d718eca
1 changed files with 5 additions and 6 deletions
|
@ -24,8 +24,7 @@ Stp corrige le pb, bien cordialement.`,
|
||||||
facebook: 'https://www.facebook.com/campus.insat',
|
facebook: 'https://www.facebook.com/campus.insat',
|
||||||
feedbackMail: `mailto:app@amicale-insat.fr?subject=[FEEDBACK] Application CAMPUS
|
feedbackMail: `mailto:app@amicale-insat.fr?subject=[FEEDBACK] Application CAMPUS
|
||||||
&body=Coucou Arnaud j'ai du feedback\n\n\n\nBien cordialement.`,
|
&body=Coucou Arnaud j'ai du feedback\n\n\n\nBien cordialement.`,
|
||||||
feedbackGit:
|
feedbackDiscord: 'https://discord.gg/W8MeTec',
|
||||||
'https://git.etud.insa-toulouse.fr/vergnet/application-amicale/issues/new',
|
|
||||||
};
|
};
|
||||||
|
|
||||||
class FeedbackScreen extends React.Component<PropsType> {
|
class FeedbackScreen extends React.Component<PropsType> {
|
||||||
|
@ -55,17 +54,17 @@ class FeedbackScreen extends React.Component<PropsType> {
|
||||||
MAIL
|
MAIL
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
<Button
|
||||||
icon="git"
|
icon={isBug ? 'git' : 'discord'}
|
||||||
mode="contained"
|
mode="contained"
|
||||||
color="#609927"
|
color={isBug ? '#609927' : '#7289da'}
|
||||||
style={{
|
style={{
|
||||||
marginLeft: 'auto',
|
marginLeft: 'auto',
|
||||||
marginTop: 5,
|
marginTop: 5,
|
||||||
}}
|
}}
|
||||||
onPress={() => {
|
onPress={() => {
|
||||||
Linking.openURL(isBug ? links.bugsGit : links.feedbackGit);
|
Linking.openURL(isBug ? links.bugsGit : links.feedbackDiscord);
|
||||||
}}>
|
}}>
|
||||||
GITEA
|
{isBug ? 'GITEA' : 'Discord'}
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
<Button
|
||||||
icon="facebook"
|
icon="facebook"
|
||||||
|
|
Loading…
Reference in a new issue