Skip to content

Commit

Permalink
poweroff st disconnect
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksandr-ru committed Mar 23, 2024
1 parent 7fa6b09 commit f5c182c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ class MainActivity : AwakeActivity(), NavigationView.OnNavigationItemSelectedLis
drawerLayout.closeDrawers()
}
if (doubleBack) {
CommandStation.setTrackPower(false)
CommandStation.disconnect()

val prefKeyConnectStartup = getString(R.string.pref_key_connect_startup)
Expand Down

0 comments on commit f5c182c

Please sign in to comment.