From 4571dc6b5694d8a32446da2cc9bb131a7175c93e Mon Sep 17 00:00:00 2001 From: arkon Date: Mon, 25 Dec 2023 18:13:52 -0500 Subject: [PATCH] Tweak page flashing Closes #10269, maybe. I don't really have something to test with. --- .../java/eu/kanade/presentation/reader/DisplayRefreshHost.kt | 4 ++-- i18n/src/commonMain/resources/MR/base/strings.xml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/eu/kanade/presentation/reader/DisplayRefreshHost.kt b/app/src/main/java/eu/kanade/presentation/reader/DisplayRefreshHost.kt index 018dbb948..f0afd08a9 100644 --- a/app/src/main/java/eu/kanade/presentation/reader/DisplayRefreshHost.kt +++ b/app/src/main/java/eu/kanade/presentation/reader/DisplayRefreshHost.kt @@ -30,7 +30,7 @@ fun DisplayRefreshHost( val currentDisplayRefresh = hostState.currentDisplayRefresh LaunchedEffect(currentDisplayRefresh) { if (currentDisplayRefresh) { - delay(200) + delay(1500) hostState.currentDisplayRefresh = false } } @@ -39,7 +39,7 @@ fun DisplayRefreshHost( Canvas( modifier = modifier.fillMaxSize(), ) { - drawRect(Color.White) + drawRect(Color.Black) } } } diff --git a/i18n/src/commonMain/resources/MR/base/strings.xml b/i18n/src/commonMain/resources/MR/base/strings.xml index e70244387..15edcdd38 100644 --- a/i18n/src/commonMain/resources/MR/base/strings.xml +++ b/i18n/src/commonMain/resources/MR/base/strings.xml @@ -350,7 +350,7 @@ Double tap to zoom Show content in cutout area Animate page transitions - Flash white on page change + Flash on page change Reduces ghosting on e-ink displays Double tap animation speed Show page number