dc09-sensors2 #5

Merged
nm17 merged 28 commits from dc09-sensors2 into master 2023-06-18 13:15:53 +03:00
2 changed files with 12 additions and 0 deletions
Showing only changes of commit 12db4ba8df - Show all commits

View file

@ -180,6 +180,17 @@ fun SensorsPage(navController: NavController) {
if (sortingShow) { if (sortingShow) {
ModalBottomSheet(onDismissRequest = { sortingShow = false }) { 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( LazyColumn(
modifier = Modifier.padding(horizontal = 4.dp), modifier = Modifier.padding(horizontal = 4.dp),
) { ) {

View file

@ -51,4 +51,5 @@
<string name="sort_option_desc">По убыванию</string> <string name="sort_option_desc">По убыванию</string>
<string name="sort_option_fav">Избранные сверху</string> <string name="sort_option_fav">Избранные сверху</string>
<string name="sort_option_mine">Мои датчики сверху</string> <string name="sort_option_mine">Мои датчики сверху</string>
<string name="sensors_sort_title">Сортировка</string>
</resources> </resources>