Skip to content

Commit 327f169

Browse files
Add files via upload
1 parent 60ce378 commit 327f169

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

app/src/main/kotlin/com/google/ai/sample/feature/chat/ChatScreen.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ fun ChatScreen(
195195
is Command.ClickButton -> "Klick auf Button: \"${command.buttonText}\""
196196
is Command.TapCoordinates -> "Tippen auf Koordinaten: (${command.x}, ${command.y})"
197197
is Command.TakeScreenshot -> "Screenshot aufnehmen"
198+
is Command.PressHomeButton -> "Home-Button drücken"
198199
}
199200

200201
Text(

app/src/main/kotlin/com/google/ai/sample/feature/chat/ChatViewModel.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ class ChatViewModel(
118118
is Command.ClickButton -> "Klick auf Button: \"${it.buttonText}\""
119119
is Command.TapCoordinates -> "Tippen auf Koordinaten: (${it.x}, ${it.y})"
120120
is Command.TakeScreenshot -> "Screenshot aufnehmen"
121+
is Command.PressHomeButton -> "Home-Button drücken"
121122
}
122123
}
123124

@@ -167,6 +168,7 @@ class ChatViewModel(
167168
is Command.ClickButton -> "Klick auf Button: \"${command.buttonText}\""
168169
is Command.TapCoordinates -> "Tippen auf Koordinaten: (${command.x}, ${command.y})"
169170
is Command.TakeScreenshot -> "Screenshot aufnehmen"
171+
is Command.PressHomeButton -> "Home-Button drücken"
170172
}
171173

172174
_commandExecutionStatus.value = "Führe aus: $commandDescription (${index + 1}/${commands.size})"

0 commit comments

Comments
 (0)