|
@@ -24,8 +24,7 @@ Stp corrige le pb, bien cordialement.`,
|
24
|
24
|
facebook: 'https://www.facebook.com/campus.insat',
|
25
|
25
|
feedbackMail: `mailto:app@amicale-insat.fr?subject=[FEEDBACK] Application CAMPUS
|
26
|
26
|
&body=Coucou Arnaud j'ai du feedback\n\n\n\nBien cordialement.`,
|
27
|
|
- feedbackGit:
|
28
|
|
- 'https://git.etud.insa-toulouse.fr/vergnet/application-amicale/issues/new',
|
|
27
|
+ feedbackDiscord: 'https://discord.gg/W8MeTec',
|
29
|
28
|
};
|
30
|
29
|
|
31
|
30
|
class FeedbackScreen extends React.Component<PropsType> {
|
|
@@ -55,17 +54,17 @@ class FeedbackScreen extends React.Component<PropsType> {
|
55
|
54
|
MAIL
|
56
|
55
|
</Button>
|
57
|
56
|
<Button
|
58
|
|
- icon="git"
|
|
57
|
+ icon={isBug ? 'git' : 'discord'}
|
59
|
58
|
mode="contained"
|
60
|
|
- color="#609927"
|
|
59
|
+ color={isBug ? '#609927' : '#7289da'}
|
61
|
60
|
style={{
|
62
|
61
|
marginLeft: 'auto',
|
63
|
62
|
marginTop: 5,
|
64
|
63
|
}}
|
65
|
64
|
onPress={() => {
|
66
|
|
- Linking.openURL(isBug ? links.bugsGit : links.feedbackGit);
|
|
65
|
+ Linking.openURL(isBug ? links.bugsGit : links.feedbackDiscord);
|
67
|
66
|
}}>
|
68
|
|
- GITEA
|
|
67
|
+ {isBug ? 'GITEA' : 'Discord'}
|
69
|
68
|
</Button>
|
70
|
69
|
<Button
|
71
|
70
|
icon="facebook"
|