Skip to content

Commit

Permalink
refactor: handle plugin power button
Browse files Browse the repository at this point in the history
  • Loading branch information
timschneeb committed Aug 2, 2023
1 parent d0af741 commit 8890e25
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,8 @@ class MainActivity : BaseActivity() {
}
}
else if(isPlugin()) {
// TODO implement plugin mode
binding.powerToggle.isToggled = !binding.powerToggle.isToggled
prefsApp.set(R.string.key_powered_on, binding.powerToggle.isToggled)
}
}
})
Expand Down

0 comments on commit 8890e25

Please sign in to comment.