mirror of
https://github.com/KitsunePie/AppErrorsTracking.git
synced 2025-09-01 16:55:18 +08:00
Merge code
This commit is contained in:
@@ -180,10 +180,10 @@ class DialogBuilder(val context: Context) {
|
||||
|
||||
/**
|
||||
* 当对话框关闭时
|
||||
* @param it 回调
|
||||
* @param callback 回调
|
||||
*/
|
||||
fun onCancel(it: () -> Unit) {
|
||||
onCancel = it
|
||||
fun onCancel(callback: () -> Unit) {
|
||||
onCancel = callback
|
||||
}
|
||||
|
||||
/** 取消对话框 */
|
||||
|
Reference in New Issue
Block a user