Skip to content

Commit

Permalink
MainActivity: do not change background if no door selected
Browse files Browse the repository at this point in the history
This keeps the 'welcome' background green.
  • Loading branch information
mwarning committed Feb 20, 2025
1 parent e76729c commit ef39ea7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/src/main/kotlin/app/trigger/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,6 @@ class MainActivity : AppCompatActivity(), OnTaskCompleted {
private fun callRequestHandler(action: Action) {
val door = getSelectedDoor()
if (door == null) {
changeUI(StateCode.DISABLED)
return
}

Expand Down

0 comments on commit ef39ea7

Please sign in to comment.