add more fixmes

This commit is contained in:
Matthew Hodgson 2017-11-13 16:35:39 +00:00
parent 0a80774066
commit 809dd0856f
1 changed files with 2 additions and 0 deletions

View File

@ -251,6 +251,7 @@ async function loadApp() {
if (!preventRedirect) { if (!preventRedirect) {
if (/iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream) { if (/iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream) {
// FIXME: ugly status hardcoding
if (UserSettingsStore.getTheme() === 'status') { if (UserSettingsStore.getTheme() === 'status') {
window.location = "https://status.im/join-riot.html"; window.location = "https://status.im/join-riot.html";
return; return;
@ -263,6 +264,7 @@ async function loadApp() {
} }
} }
else if (/Android/.test(navigator.userAgent)) { else if (/Android/.test(navigator.userAgent)) {
// FIXME: ugly status hardcoding
if (UserSettingsStore.getTheme() === 'status') { if (UserSettingsStore.getTheme() === 'status') {
window.location = "https://status.im/join-riot.html"; window.location = "https://status.im/join-riot.html";
return; return;