fix crash on pod deactivation
This commit is contained in:
parent
1e4cda01a3
commit
3ef983b732
1 changed files with 2 additions and 1 deletions
|
@ -31,7 +31,8 @@ class DeactivatePodFragment : ActionFragmentBase() {
|
|||
|
||||
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
|
||||
super.onViewCreated(view, savedInstanceState)
|
||||
view.findViewById<Button>(R.id.omnipod_wizard_button_discard_pod)?.setOnClickListener {
|
||||
buttonDiscardPod = view.findViewById(R.id.omnipod_wizard_button_discard_pod)
|
||||
buttonDiscardPod.setOnClickListener {
|
||||
context?.let {
|
||||
AlertDialog.Builder(it)
|
||||
.setIcon(android.R.drawable.ic_dialog_alert)
|
||||
|
|
Loading…
Reference in a new issue