mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-16 02:05:06 +08:00
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)
|
up.saveDistributor(context, distributor)
|
||||||
Timber.i("Saving distributor: $distributor")
|
Timber.i("Saving distributor: $distributor")
|
||||||
up.registerApp(context)
|
up.registerApp(context)
|
||||||
onDoneRunnable?.run()
|
|
||||||
}
|
}
|
||||||
.setOnDismissListener {
|
.setOnDismissListener {
|
||||||
onDoneRunnable?.run()
|
onDoneRunnable?.run()
|
||||||
}
|
}
|
||||||
.setOnCancelListener {
|
|
||||||
onDoneRunnable?.run()
|
|
||||||
}
|
|
||||||
.show()
|
.show()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user