Skip to content
This repository has been archived by the owner on Aug 1, 2022. It is now read-only.

Commit

Permalink
🚨Merge branch 'fix-lint-issues'
Browse files Browse the repository at this point in the history
Removed some unused stuff...
  • Loading branch information
atahabaki committed Mar 17, 2021
2 parents e974e9b + 907bc2a commit 0b35856
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ class HomeActivity : AppCompatActivity() {
}

private fun notify(@StringRes resId: Int) {
val contextView = binding.root
Snackbar.make(binding.root,resId, Snackbar.LENGTH_SHORT).setAction(R.string.reboot) {
exec("reboot", "${packageName}.notify.reboot")
}.setAnchorView(binding.mainBottomAppbar).show()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class QuickActionsFragment : Fragment(R.layout.fragment_quick_actions) {
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
super.onViewCreated(view, savedInstanceState)
binding.quickAccessToggleGcam.isChecked = getGcamStatus()
binding.quickAccessToggleGcam.setOnCheckedChangeListener { buttonView, isChecked -> toggleGcam(isChecked)}
binding.quickAccessToggleGcam.setOnCheckedChangeListener { _, isChecked -> toggleGcam(isChecked)}
}

private fun toggleGcam(isChecked: Boolean) {
Expand Down

0 comments on commit 0b35856

Please sign in to comment.