Доработки ночного режима

This commit is contained in:
Book Pauk
2023-01-11 21:29:35 +07:00
parent ce1cdca6a0
commit 3b8d084c76
2 changed files with 17 additions and 1 deletions

View File

@@ -119,8 +119,12 @@ class LibsPage {
return this.$store.state.reader.libs;
}
get nightMode() {
return this.$store.state.reader.settings.nightMode;
}
sendLibs() {
this.sendMessage({type: 'libs', data: _.cloneDeep(this.libs)});
this.sendMessage({type: 'libs', data: _.cloneDeep(this.libs), sets: {nightMode: this.nightMode}});
}
close() {