change delay position

This commit is contained in:
Diogo
2024-09-30 12:11:37 +01:00
parent 5a362ab458
commit 27b19580ed
@@ -1573,9 +1573,9 @@ private fun FloatingDate(
.collect {
setDateVisibility(true)
hideDateWhenNotScrolling?.cancel()
delay(1000)
hideDateWhenNotScrolling = coroutineScope.launch {
delay(1000)
setDateVisibility(false)
hideDateWhenNotScrolling = null
}