302 android to play store

This commit is contained in:
Matthew Hodgson 2016-05-13 17:14:01 +01:00
parent d9077584cd
commit 8fb521c83c

View file

@ -188,6 +188,12 @@ function loadApp() {
return; return;
} }
} }
else if (/Android/.test(navigator.userAgent)) {
if (confirm("Vector works much better on Android as an app. Switch to the app?")) {
window.location = "https://play.google.com/store/apps/details?id=im.vector.alpha";
return;
}
}
console.log("Vector starting at "+window.location); console.log("Vector starting at "+window.location);
if (validBrowser) { if (validBrowser) {