dc09-sensors2 #5
2 changed files with 12 additions and 0 deletions
|
@ -180,6 +180,17 @@ fun SensorsPage(navController: NavController) {
|
|||
|
||||
if (sortingShow) {
|
||||
ModalBottomSheet(onDismissRequest = { sortingShow = false }) {
|
||||
Row(
|
||||
horizontalArrangement = Arrangement.Center,
|
||||
modifier = Modifier.fillMaxWidth(),
|
||||
) {
|
||||
Text(
|
||||
text = stringResource(R.string.sensors_sort_title),
|
||||
fontSize = 24.sp,
|
||||
fontWeight = FontWeight(500),
|
||||
)
|
||||
}
|
||||
|
||||
LazyColumn(
|
||||
modifier = Modifier.padding(horizontal = 4.dp),
|
||||
) {
|
||||
|
|
|
@ -51,4 +51,5 @@
|
|||
<string name="sort_option_desc">По убыванию</string>
|
||||
<string name="sort_option_fav">Избранные сверху</string>
|
||||
<string name="sort_option_mine">Мои датчики сверху</string>
|
||||
<string name="sensors_sort_title">Сортировка</string>
|
||||
</resources>
|
Loading…
Reference in a new issue