This commit is contained in:
David Baker 2016-09-19 13:29:49 +01:00
parent 9391dc6c2a
commit 8e4dcd9b41
9 changed files with 13 additions and 13 deletions

View file

@ -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;
}