mirror of
https://github.com/mihonapp/mihon.git
synced 2025-06-28 03:57:50 +02:00
Tweak page flashing
Closes #10269, maybe. I don't really have something to test with.
This commit is contained in:
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user