new bt scan works on emulator

This commit is contained in:
geeksville 2020-02-18 09:09:49 -08:00
parent f715091399
commit 8a7de21814
3 changed files with 46 additions and 43 deletions

View file

@ -34,7 +34,10 @@ fun HomeContent() {
Column {
Row {
Container(LayoutSize(40.dp, 40.dp)) {
VectorImage(id = if (UIState.isConnected.value) R.drawable.cloud_on else R.drawable.cloud_off)
VectorImage(
id = if (UIState.isConnected.value) R.drawable.cloud_on else R.drawable.cloud_off,
tint = palette.onBackground
)
}
Text(if (UIState.isConnected.value) "Connected" else "Not Connected")