fix(android): reorder settings items

This commit is contained in:
Harsh Shandilya 2024-08-08 03:42:30 +05:30
parent a8f559fe06
commit 67b253ba62

View file

@ -60,17 +60,6 @@ fun SettingsScreen(
val coroutineScope = rememberCoroutineScope()
Box(modifier = modifier.fillMaxSize()) {
Column {
ListItem(
headlineContent = { Text("Libraries") },
leadingContent = {
Icon(
imageVector = Icons.AutoMirrored.Filled.LibraryBooks,
contentDescription = null,
modifier = Modifier.height(32.dp),
)
},
modifier = Modifier.clickable(onClick = openLibrariesScreen),
)
ListItem(
headlineContent = { Text("Data transfer") },
leadingContent = {
@ -96,6 +85,17 @@ fun SettingsScreen(
}
},
)
ListItem(
headlineContent = { Text("Libraries") },
leadingContent = {
Icon(
imageVector = Icons.AutoMirrored.Filled.LibraryBooks,
contentDescription = null,
modifier = Modifier.height(32.dp),
)
},
modifier = Modifier.clickable(onClick = openLibrariesScreen),
)
}
}
}