Clean up list item component API (#3465)

This commit is contained in:
Phil Oliver 2025-10-14 14:37:59 -04:00 committed by GitHub
parent 1b9f0f9736
commit 51ccc59b24
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 407 additions and 476 deletions

View file

@ -65,8 +65,8 @@ import org.meshtastic.core.navigation.Route
import org.meshtastic.core.navigation.SettingsRoutes
import org.meshtastic.core.service.ConnectionState
import org.meshtastic.core.strings.R
import org.meshtastic.core.ui.component.ListItem
import org.meshtastic.core.ui.component.MainAppBar
import org.meshtastic.core.ui.component.SettingsItem
import org.meshtastic.core.ui.component.TitledCard
import org.meshtastic.feature.settings.navigation.ConfigRoute
import org.meshtastic.feature.settings.navigation.getNavRouteFrom
@ -197,7 +197,7 @@ fun ConnectionsScreen(
if (regionUnset && selectedDevice != "m") {
TitledCard(title = null) {
SettingsItem(
ListItem(
leadingIcon = Icons.Rounded.Language,
text = stringResource(id = R.string.set_your_region),
) {

View file

@ -120,6 +120,7 @@ fun NodeDetailList(
}
NodeDetailsSection(node)
NotesSection(node = node, onSaveNotes = onSaveNotes)
DeviceActions(