Skip to content

Commit ef39ea7

Browse files
committed
MainActivity: do not change background if no door selected
This keeps the 'welcome' background green.
1 parent e76729c commit ef39ea7

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

app/src/main/kotlin/app/trigger/MainActivity.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,6 @@ class MainActivity : AppCompatActivity(), OnTaskCompleted {
429429
private fun callRequestHandler(action: Action) {
430430
val door = getSelectedDoor()
431431
if (door == null) {
432-
changeUI(StateCode.DISABLED)
433432
return
434433
}
435434

0 commit comments

Comments
 (0)