setOnDismissListener
should cover all the cases.
This commit is contained in:
parent
cc80bf986c
commit
399e95a247
@ -171,14 +171,10 @@ class UnifiedPushHelper @Inject constructor(
|
||||
up.saveDistributor(context, distributor)
|
||||
Timber.i("Saving distributor: $distributor")
|
||||
up.registerApp(context)
|
||||
onDoneRunnable?.run()
|
||||
}
|
||||
.setOnDismissListener {
|
||||
onDoneRunnable?.run()
|
||||
}
|
||||
.setOnCancelListener {
|
||||
onDoneRunnable?.run()
|
||||
}
|
||||
.show()
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user