mirror of
https://github.com/JustinZeus/Wholphin.git
synced 2026-07-08 23:51:21 +02:00
Merge branch 'main' into develop/mpv
This commit is contained in:
commit
400cef26d3
1 changed files with 2 additions and 1 deletions
|
|
@ -449,8 +449,9 @@ fun NavDrawer(
|
||||||
if (preferences.appPreferences.interfacePreferences.showClock) {
|
if (preferences.appPreferences.interfacePreferences.showClock) {
|
||||||
var now by remember { mutableStateOf(LocalTime.now()) }
|
var now by remember { mutableStateOf(LocalTime.now()) }
|
||||||
LaunchedEffect(Unit) {
|
LaunchedEffect(Unit) {
|
||||||
if (isActive) {
|
while (isActive) {
|
||||||
now = LocalTime.now()
|
now = LocalTime.now()
|
||||||
|
delay(1000L)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Text(
|
Text(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue