Skip to content

Commit ed1554f

Browse files
committed
index.js: fix wording in android popup
1 parent c6cf5fe commit ed1554f

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

src/vector/index.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -184,18 +184,18 @@ window.onload = function() {
184184

185185
function getConfig() {
186186
let deferred = q.defer();
187-
187+
188188
request(
189189
{ method: "GET", url: "config.json", json: true },
190190
(err, response, body) => {
191191
if (err || response.status < 200 || response.status >= 300) {
192192
throw "failed to load config.json";
193193
}
194-
194+
195195
deferred.resolve(body);
196196
}
197197
);
198-
198+
199199
return deferred.promise;
200200
}
201201

@@ -207,14 +207,14 @@ async function loadApp() {
207207
}
208208
}
209209
else if (/Android/.test(navigator.userAgent)) {
210-
if (confirm("Vector runs much better as an app on Vector. Get the app?")) {
210+
if (confirm("Vector runs much better as an app on Android. Get the app?")) {
211211
window.location = "https://play.google.com/store/apps/details?id=im.vector.alpha";
212212
return;
213213
}
214214
}
215-
215+
216216
let configJson = await getConfig();
217-
217+
218218
console.log("Vector starting at "+window.location);
219219
if (validBrowser) {
220220
var MatrixChat = sdk.getComponent('structures.MatrixChat');

0 commit comments

Comments
 (0)