mirror of
https://github.com/SimpleMobileTools/Simple-Flashlight.git
synced 2025-06-05 21:59:19 +02:00
Add background to sleep timer element
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user