fix bugs.1 72
This commit is contained in:
@@ -73,6 +73,7 @@ class InviteDialog(context: Context, data: IndexRecommendRoom?) :
|
||||
}
|
||||
|
||||
fun setData(data: IndexRecommendRoom?) {
|
||||
|
||||
this.data = data
|
||||
// 设置房间数据
|
||||
data?.let { roomData ->
|
||||
@@ -86,6 +87,12 @@ class InviteDialog(context: Context, data: IndexRecommendRoom?) :
|
||||
// 仍然启动倒计时,让用户可以关闭对话框
|
||||
startCountDown()
|
||||
}
|
||||
|
||||
if (isShowing){
|
||||
return
|
||||
}
|
||||
|
||||
super.show()
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user