From b450cd7ee485ca098cd4d6287955f31fdca17f38 Mon Sep 17 00:00:00 2001 From: Liyas Thomas Date: Wed, 22 Jan 2020 10:10:29 +0530 Subject: [PATCH] :bug: Fixed sync toast prompt --- components/firebase/login.vue | 4 ++-- pages/settings.vue | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/firebase/login.vue b/components/firebase/login.vue index 1cf1d8620..0f06d87b2 100644 --- a/components/firebase/login.vue +++ b/components/firebase/login.vue @@ -59,7 +59,7 @@ export default { .signInWithPopup(provider) .then(res => { if (res.additionalUserInfo.isNewUser) { - this.$toast.info($t("turn_on") + " " + $t("sync"), { + this.$toast.info(this.$t("turn_on") + " " + this.$t("sync"), { icon: "sync", duration: null, closeOnSwipe: false, @@ -88,7 +88,7 @@ export default { .signInWithPopup(provider) .then(res => { if (res.additionalUserInfo.isNewUser) { - this.$toast.info($t("turn_on") + " " + $t("sync"), { + this.$toast.info(this.$t("turn_on") + " " + this.$t("sync"), { icon: "sync", duration: null, closeOnSwipe: false, diff --git a/pages/settings.vue b/pages/settings.vue index 16048827e..c6160da37 100644 --- a/pages/settings.vue +++ b/pages/settings.vue @@ -398,7 +398,7 @@ export default { .signInWithPopup(provider) .then(res => { if (res.additionalUserInfo.isNewUser) { - this.$toast.info($t("turn_on") + " " + $t("sync"), { + this.$toast.info(this.$t("turn_on") + " " + this.$t("sync"), { icon: "sync", duration: null, closeOnSwipe: false, @@ -427,7 +427,7 @@ export default { .signInWithPopup(provider) .then(res => { if (res.additionalUserInfo.isNewUser) { - this.$toast.info($t("turn_on") + " " + $t("sync"), { + this.$toast.info(this.$t("turn_on") + " " + this.$t("sync"), { icon: "sync", duration: null, closeOnSwipe: false,