Add background to sleep timer element
This commit is contained in:
parent
b3b0bc84f9
commit
d36afb3e13
|
@ -3,6 +3,7 @@ package com.simplemobiletools.flashlight.views
|
||||||
import androidx.compose.animation.AnimatedVisibility
|
import androidx.compose.animation.AnimatedVisibility
|
||||||
import androidx.compose.animation.fadeIn
|
import androidx.compose.animation.fadeIn
|
||||||
import androidx.compose.animation.fadeOut
|
import androidx.compose.animation.fadeOut
|
||||||
|
import androidx.compose.foundation.background
|
||||||
import androidx.compose.foundation.border
|
import androidx.compose.foundation.border
|
||||||
import androidx.compose.foundation.layout.Row
|
import androidx.compose.foundation.layout.Row
|
||||||
import androidx.compose.foundation.layout.padding
|
import androidx.compose.foundation.layout.padding
|
||||||
|
@ -33,7 +34,7 @@ internal fun SleepTimer(
|
||||||
width = 1.dp,
|
width = 1.dp,
|
||||||
color = divider_grey,
|
color = divider_grey,
|
||||||
shape = RectangleShape
|
shape = RectangleShape
|
||||||
)
|
).background(SimpleTheme.colorScheme.surface)
|
||||||
) {
|
) {
|
||||||
Text(
|
Text(
|
||||||
modifier = Modifier
|
modifier = Modifier
|
||||||
|
|
Loading…
Reference in New Issue