Skip to content

Commit 28057fd

Browse files
committed
improve upgrade-to-app warning on mobile app
1 parent 51e8c28 commit 28057fd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/vector/index.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,13 +205,13 @@ function getConfig() {
205205

206206
async function loadApp() {
207207
if (/iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream) {
208-
if (confirm("Vector runs much better as an app on iOS. Get the app?")) {
208+
if (confirm("Vector is not supported on mobile web. Install the app?")) {
209209
window.location = "https://itunes.apple.com/us/app/vector.im/id1083446067";
210210
return;
211211
}
212212
}
213213
else if (/Android/.test(navigator.userAgent)) {
214-
if (confirm("Vector runs much better as an app on Android. Get the app?")) {
214+
if (confirm("Vector is not supported on mobile web. Install the app?")) {
215215
window.location = "https://play.google.com/store/apps/details?id=im.vector.alpha";
216216
return;
217217
}

0 commit comments

Comments
 (0)