mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
Organize channel config files (#3526)
This commit is contained in:
parent
58fda3d990
commit
6864dd0729
9 changed files with 189 additions and 84 deletions
|
|
@ -31,7 +31,9 @@ import androidx.compose.ui.Alignment
|
|||
import androidx.compose.ui.Modifier
|
||||
import androidx.compose.ui.graphics.Color
|
||||
import androidx.compose.ui.text.style.TextOverflow
|
||||
import androidx.compose.ui.tooling.preview.Preview
|
||||
import androidx.compose.ui.unit.dp
|
||||
import org.meshtastic.core.ui.theme.AppTheme
|
||||
|
||||
@Composable
|
||||
fun ChannelItem(
|
||||
|
|
@ -60,3 +62,9 @@ fun ChannelItem(
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Preview
|
||||
@Composable
|
||||
private fun ChannelItemPreview() {
|
||||
AppTheme { ChannelItem(index = 0, title = "Medium Fast", enabled = true) {} }
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue