Tweak page flashing

Closes #10269, maybe. I don't really have something to test with.

(cherry picked from commit 4571dc6b5694d8a32446da2cc9bb131a7175c93e)
This commit is contained in:
arkon
2023-12-25 18:13:52 -05:00
committed by Jobobby04
parent 0c8268fe7b
commit 1b22be1da8
2 changed files with 3 additions and 3 deletions
@@ -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)
}
}
}