Skip to content

Commit d36afb3

Browse files
committed
Add background to sleep timer element
1 parent b3b0bc8 commit d36afb3

File tree

1 file changed

+2
-1
lines changed
  • app/src/main/kotlin/com/simplemobiletools/flashlight/views

1 file changed

+2
-1
lines changed

app/src/main/kotlin/com/simplemobiletools/flashlight/views/SleepTimer.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ package com.simplemobiletools.flashlight.views
33
import androidx.compose.animation.AnimatedVisibility
44
import androidx.compose.animation.fadeIn
55
import androidx.compose.animation.fadeOut
6+
import androidx.compose.foundation.background
67
import androidx.compose.foundation.border
78
import androidx.compose.foundation.layout.Row
89
import androidx.compose.foundation.layout.padding
@@ -33,7 +34,7 @@ internal fun SleepTimer(
3334
width = 1.dp,
3435
color = divider_grey,
3536
shape = RectangleShape
36-
)
37+
).background(SimpleTheme.colorScheme.surface)
3738
) {
3839
Text(
3940
modifier = Modifier

0 commit comments

Comments
 (0)