Try to ensure that reader page error message is removed if image is loaded

Maybe fixes #5687
This commit is contained in:
arkon
2023-10-28 17:18:42 -04:00
parent 443d56f69b
commit 4868dd2d03
4 changed files with 18 additions and 7 deletions

View File

@@ -1,5 +1,6 @@
package eu.kanade.presentation.reader
import androidx.annotation.IntRange
import androidx.compose.foundation.Canvas
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.runtime.Composable
@@ -10,7 +11,7 @@ import kotlin.math.abs
@Composable
fun BrightnessOverlay(
value: Int,
@IntRange(from = -100, to = 100) value: Int,
) {
if (value >= 0) return