Skip to content

Commit

Permalink
Update preview for the select thermostat view.
Browse files Browse the repository at this point in the history
  • Loading branch information
Martreides committed Jan 13, 2025
1 parent db9bfe0 commit 7d65b20
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,14 @@ fun SelectThermostatTileView(
private fun PreviewSelectThermostatTileViewOne() {
SelectThermostatTileView(
tiles = listOf(
ThermostatTile(id = 1, entityId = "camera.buienradar", refreshInterval = 300)
ThermostatTile(id = 1, entityId = "climate.living_room", refreshInterval = 300, targetTemperature = 21.0f, showEntityName = true)
),
onSelectTile = {}
)
}

@Preview(device = WearDevices.LARGE_ROUND)
@Composable
private fun PreviewSelectCameraTileViewEmpty() {
SelectCameraTileView(tiles = emptyList(), onSelectTile = {})
private fun PreviewSelectThermostatTileViewEmpty() {
SelectThermostatTileView(tiles = emptyList(), onSelectTile = {})
}

0 comments on commit 7d65b20

Please sign in to comment.