mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
add more fixmes
This commit is contained in:
parent
0a80774066
commit
809dd0856f
@ -251,6 +251,7 @@ async function loadApp() {
|
||||
|
||||
if (!preventRedirect) {
|
||||
if (/iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream) {
|
||||
// FIXME: ugly status hardcoding
|
||||
if (UserSettingsStore.getTheme() === 'status') {
|
||||
window.location = "https://status.im/join-riot.html";
|
||||
return;
|
||||
@ -263,6 +264,7 @@ async function loadApp() {
|
||||
}
|
||||
}
|
||||
else if (/Android/.test(navigator.userAgent)) {
|
||||
// FIXME: ugly status hardcoding
|
||||
if (UserSettingsStore.getTheme() === 'status') {
|
||||
window.location = "https://status.im/join-riot.html";
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user