diff --git a/client/components/Reader/SettingsPage/SettingsPage.vue b/client/components/Reader/SettingsPage/SettingsPage.vue index f2e1ccec..95956809 100644 --- a/client/components/Reader/SettingsPage/SettingsPage.vue +++ b/client/components/Reader/SettingsPage/SettingsPage.vue @@ -106,13 +106,6 @@ const componentOptions = { }, deep: true, }, - statusBarColor(newValue) { - this.statusBarColorFiltered = newValue; - }, - statusBarColorFiltered(newValue) { - if (hex.test(newValue)) - this.statusBarColor = newValue; - }, }, }; class SettingsPage { @@ -135,8 +128,6 @@ class SettingsPage { isSetsChanged = false; - statusBarColorFiltered = ''; - created() { this.commit = this.$store.commit; @@ -159,9 +150,6 @@ class SettingsPage { this.isSetsChanged = true; try { this.form = reactive(_.cloneDeep(this.settings)); - const form = this.form; - - this.statusBarColorFiltered = form.statusBarColor; } finally { await this.$nextTick(); this.isSetsChanged = false; @@ -172,10 +160,6 @@ class SettingsPage { return this.$store.state.reader.settings; } - needReload() { - this.$root.notify.warning('Необходимо обновить страницу (F5), чтобы изменения возымели эффект'); - } - close() { this.$emit('do-action', {action: 'settings'}); } diff --git a/client/components/Reader/SettingsPage/ViewTab/Color/Color.vue b/client/components/Reader/SettingsPage/ViewTab/Color/Color.vue index 568a794b..855372b8 100644 --- a/client/components/Reader/SettingsPage/ViewTab/Color/Color.vue +++ b/client/components/Reader/SettingsPage/ViewTab/Color/Color.vue @@ -1,5 +1,5 @@