|
@@ -97,6 +97,7 @@ fun AppCompatActivity.showSuccessDialog(block: (QMUITipDialog.Builder.() -> Unit
|
|
|
setCanceledOnTouchOutside(false)
|
|
setCanceledOnTouchOutside(false)
|
|
|
setCancelable(true)
|
|
setCancelable(true)
|
|
|
addObserver { onDestroy { dismiss() } }
|
|
addObserver { onDestroy { dismiss() } }
|
|
|
|
|
+ addObserver { onStop { dismiss() } }
|
|
|
}.apply {
|
|
}.apply {
|
|
|
autoDismissAfterShow(this@showSuccessDialog)
|
|
autoDismissAfterShow(this@showSuccessDialog)
|
|
|
}
|
|
}
|