Доработки отображения диалогов на смартфонах

This commit is contained in:
Book Pauk
2019-09-07 17:39:00 +07:00
parent c9419d99e6
commit 9ac8dc7fd1
2 changed files with 19 additions and 5 deletions

View File

@@ -310,6 +310,7 @@ class Reader extends Vue {
//TODO: убрать в будущем
if (this.showToolButton['history']) {
const newShowToolButton = Object.assign({}, this.showToolButton);
newShowToolButton['recentBooks'] = true;
delete newShowToolButton['history'];
const newSettings = Object.assign({}, this.settings, { showToolButton: newShowToolButton });
this.commit('reader/setSettings', newSettings);