dc09-sensors2 #5
2 changed files with 2 additions and 2 deletions
|
@ -16,13 +16,13 @@ import androidx.compose.ui.text.font.FontWeight
|
||||||
import androidx.compose.ui.unit.dp
|
import androidx.compose.ui.unit.dp
|
||||||
import androidx.compose.ui.unit.sp
|
import androidx.compose.ui.unit.sp
|
||||||
import ru.nm17.narodmon.R
|
import ru.nm17.narodmon.R
|
||||||
|
import ru.nm17.narodmon.ui.entities.SensorFilterUiEntity
|
||||||
import ru.nm17.narodmon.ui.pages.FilterCheckbox
|
import ru.nm17.narodmon.ui.pages.FilterCheckbox
|
||||||
import ru.nm17.narodmon.ui.pages.SensorFilter
|
|
||||||
|
|
||||||
@OptIn(ExperimentalMaterial3Api::class)
|
@OptIn(ExperimentalMaterial3Api::class)
|
||||||
@Composable
|
@Composable
|
||||||
fun FilterSensorsBottomSheet(
|
fun FilterSensorsBottomSheet(
|
||||||
filterItems: List<SensorFilter>,
|
filterItems: List<SensorFilterUiEntity>,
|
||||||
onDismissRequest: () -> Unit
|
onDismissRequest: () -> Unit
|
||||||
) {
|
) {
|
||||||
ModalBottomSheet(onDismissRequest = { onDismissRequest.invoke() }) {
|
ModalBottomSheet(onDismissRequest = { onDismissRequest.invoke() }) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue