Compare commits

..

8 Commits

Author SHA1 Message Date
Book Pauk
6c6a08d8e0 Merge branch 'release/1.1.1-1' 2023-01-11 21:32:13 +07:00
Book Pauk
deafbae945 Версия 1.1.1 2023-01-11 21:31:40 +07:00
Book Pauk
0b23c609f1 Merge tag '1.1.1' into develop
1.1.1
2023-01-11 21:30:53 +07:00
Book Pauk
0359061321 Merge branch 'release/1.1.1' 2023-01-11 21:30:45 +07:00
Book Pauk
bc7a5f6be4 Merge tag '1.1.0-1' into develop
1.1.0-1
2023-01-11 21:30:36 +07:00
Book Pauk
be36f8f6e8 Merge branch 'release/1.1.0-1' 2023-01-11 21:30:30 +07:00
Book Pauk
3b8d084c76 Доработки ночного режима 2023-01-11 21:29:35 +07:00
Book Pauk
ce1cdca6a0 Merge tag '1.1.0' into develop
1.1.0
2023-01-11 21:06:40 +07:00
4 changed files with 19 additions and 3 deletions

View File

@@ -312,6 +312,7 @@ class ExternalLibs {
inpxUrl = '';
created() {
this.commit = this.$store.commit;
this.oldStartLink = '';
this.justOpened = true;
this.$root.addEventHook('key', this.keyHook);
@@ -404,6 +405,8 @@ class ExternalLibs {
this.ready = true;
if (d.data)
this.libs = _.cloneDeep(d.data);
if (d.sets)
this.updateSets(d.sets);
} else if (d.type == 'notify') {
this.$root.notify.success(d.data, '', {position: 'bottom-right'});
}
@@ -448,6 +451,11 @@ class ExternalLibs {
}
}
updateSets(sets) {
if (sets.nightMode !== this.nightMode)
this.commit('reader/nightModeToggle');
}
commitLibs(libs) {
this.sendMessage({type: 'libs', data: libs});
}
@@ -496,6 +504,10 @@ class ExternalLibs {
return this.$store.state.config.mode;
}
get nightMode() {
return this.$store.state.reader.settings.nightMode;
}
get header() {
let result = [this.ready ? 'Сетевая библиотека' : 'Загрузка...'];
if (this.ready && this.selectedLink) {

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() {

View File

@@ -1,6 +1,6 @@
export const versionHistory = [
{
version: '1.1.0',
version: '1.1.1',
releaseDate: '2023-01-11',
showUntil: '2023-01-15',
content:

View File

@@ -1,6 +1,6 @@
{
"name": "liberama",
"version": "1.1.0",
"version": "1.1.1",
"author": "Book Pauk <bookpauk@gmail.com>",
"license": "CC0-1.0",
"repository": "bookpauk/liberama",