|
|
@ -22,6 +22,7 @@ internal fun <T> T.dismissDialog(recentShowingDialogTime: Long, minimumMills: Lo |
|
|
|
val dialogShowingTime = System.currentTimeMillis() - recentShowingDialogTime |
|
|
|
val dialogShowingTime = System.currentTimeMillis() - recentShowingDialogTime |
|
|
|
|
|
|
|
|
|
|
|
if (dialogShowingTime >= minimumMills) { |
|
|
|
if (dialogShowingTime >= minimumMills) { |
|
|
|
|
|
|
|
dismissLoadingDialog() |
|
|
|
onDismiss() |
|
|
|
onDismiss() |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
lifecycleScope.launch { |
|
|
|
lifecycleScope.launch { |
|
|
|