Add feedback option for Revite.

This commit is contained in:
Paul
2021-06-21 21:53:08 +01:00
parent c597fc81f8
commit a3213fe644
2 changed files with 10 additions and 0 deletions

View File

@@ -58,6 +58,15 @@ export function Feedback() {
onSelect={() => setChecked("Feature Request")}>
<Text id="app.settings.pages.feedback.feature" />
</Radio>
{ (location.hostname === 'vite.revolt.chat' || location.hostname === 'local.revolt.chat') && <Radio
disabled={state === "sending"}
checked={other === "Revite"}
onSelect={() => {
setChecked("__other_option__");
setOther("Revite");
}}>
Issues with Revite
</Radio> }
<Radio
disabled={state === "sending"}
checked={checked === "__other_option__"}