mirror of
https://github.com/element-hq/element-web
synced 2024-11-29 04:48:50 +03:00
302 android to play store
This commit is contained in:
parent
d9077584cd
commit
8fb521c83c
1 changed files with 6 additions and 0 deletions
|
@ -188,6 +188,12 @@ function loadApp() {
|
|||
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);
|
||||
if (validBrowser) {
|
||||
|
|
Loading…
Reference in a new issue