summaryrefslogtreecommitdiff
path: root/src/client/app/mobile/views/pages/settings.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/app/mobile/views/pages/settings.vue')
-rw-r--r--src/client/app/mobile/views/pages/settings.vue6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/app/mobile/views/pages/settings.vue b/src/client/app/mobile/views/pages/settings.vue
index 1158e45094..445471200a 100644
--- a/src/client/app/mobile/views/pages/settings.vue
+++ b/src/client/app/mobile/views/pages/settings.vue
@@ -339,16 +339,16 @@ export default Vue.extend({
checkForUpdate() {
this.checkingForUpdate = true;
- checkForUpdate((this as any).os, true, true).then(newer => {
+ checkForUpdate(this.$root, true, true).then(newer => {
this.checkingForUpdate = false;
this.latestVersion = newer;
if (newer == null) {
- this.$root.apis.dialog({
+ this.$dialog({
title: this.$t('no-updates'),
text: this.$t('no-updates-desc')
});
} else {
- this.$root.apis.dialog({
+ this.$dialog({
title: this.$t('update-available'),
text: this.$t('update-available-desc')
});