Rebrand
This commit is contained in:
parent
9391dc6c2a
commit
8e4dcd9b41
9 changed files with 13 additions and 13 deletions
|
@ -208,13 +208,13 @@ async function loadApp() {
|
|||
|
||||
if (!preventRedirect) {
|
||||
if (/iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream) {
|
||||
if (confirm("Vector is not supported on mobile web. Install the app?")) {
|
||||
if (confirm("Riot is not supported on mobile web. Install the app?")) {
|
||||
window.location = "https://itunes.apple.com/us/app/vector.im/id1083446067";
|
||||
return;
|
||||
}
|
||||
}
|
||||
else if (/Android/.test(navigator.userAgent)) {
|
||||
if (confirm("Vector is not supported on mobile web. Install the app?")) {
|
||||
if (confirm("Riot is not supported on mobile web. Install the app?")) {
|
||||
window.location = "https://play.google.com/store/apps/details?id=im.vector.alpha";
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue