Заголовок для BottomSheet с сортировкой

This commit is contained in:
DarkCat09 2023-06-07 16:07:45 +04:00
parent 95e849e27a
commit 12db4ba8df
2 changed files with 12 additions and 0 deletions

View file

@ -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),
) {

View file

@ -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>