mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-27 03:49:04 +03:00
Add comments
This commit is contained in:
parent
a4dd08ddb3
commit
42c580c249
1 changed files with 4 additions and 0 deletions
|
@ -47,6 +47,8 @@ class UnifiedPushHelper @Inject constructor(
|
||||||
private val fcmHelper: FcmHelper,
|
private val fcmHelper: FcmHelper,
|
||||||
) {
|
) {
|
||||||
|
|
||||||
|
// Called when the home activity starts
|
||||||
|
// or when notifications are enabled
|
||||||
fun register(
|
fun register(
|
||||||
activity: FragmentActivity,
|
activity: FragmentActivity,
|
||||||
onDoneRunnable: Runnable? = null,
|
onDoneRunnable: Runnable? = null,
|
||||||
|
@ -117,6 +119,8 @@ class UnifiedPushHelper @Inject constructor(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// There is no case where this function is called
|
||||||
|
// with a saved distributor and/or a pusher
|
||||||
private fun openDistributorDialogInternal(
|
private fun openDistributorDialogInternal(
|
||||||
activity: FragmentActivity,
|
activity: FragmentActivity,
|
||||||
onDoneRunnable: Runnable?,
|
onDoneRunnable: Runnable?,
|
||||||
|
|
Loading…
Reference in a new issue