From f6d003216ecf0d73ba5409de0a621b1bc3310064 Mon Sep 17 00:00:00 2001 From: ISO-B <3048685+ISO-B@users.noreply.github.com> Date: Thu, 21 Nov 2024 11:41:28 +0200 Subject: [PATCH] Feature: Option to keep screen on while reading Hard work is done using capacitor-community/volume-buttons plugin. Option is disabled by default, but can be enable from Ereader settings. Should work on iOS and Android. --- components/modals/FullscreenModal.vue | 10 ++++-- components/readers/Reader.vue | 47 +++++++++++++++++++++++++-- package.json | 1 + strings/en-us.json | 4 +++ 4 files changed, 57 insertions(+), 5 deletions(-) diff --git a/components/modals/FullscreenModal.vue b/components/modals/FullscreenModal.vue index 63c21eb8..88fe154d 100644 --- a/components/modals/FullscreenModal.vue +++ b/components/modals/FullscreenModal.vue @@ -1,5 +1,5 @@