androidx
Ztiany 5 years ago
parent 584b0f58d7
commit 9a4f84534f
  1. 1
      lib_base/src/main/java/com/android/base/app/fragment/utils.kt

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

Loading…
Cancel
Save