|
|
@@ -67,7 +67,6 @@ class MessageHomeFragment : BaseFragment(R.layout.fragment_message_home), IScrol
|
|
|
runOnUiThread({
|
|
|
tryToShowLotteryDialog()
|
|
|
}, 2000)
|
|
|
- hasTryToShow = true
|
|
|
}
|
|
|
|
|
|
}
|
|
|
@@ -154,7 +153,8 @@ class MessageHomeFragment : BaseFragment(R.layout.fragment_message_home), IScrol
|
|
|
private fun tryToShowLotteryDialog() {
|
|
|
if (!backFromConversationActivity || !hasSendMessage){
|
|
|
backFromConversationActivity=false
|
|
|
- hasSendMessage=false
|
|
|
+ hasSendMessage = false
|
|
|
+ hasTryToShow = false
|
|
|
return
|
|
|
}
|
|
|
lifecycleScope.launch {
|
|
|
@@ -173,7 +173,7 @@ class MessageHomeFragment : BaseFragment(R.layout.fragment_message_home), IScrol
|
|
|
hasSendMessage=false
|
|
|
|
|
|
DialogTaskManager.submit(NewUserLotteryDialogTask())
|
|
|
-
|
|
|
+ hasTryToShow = true
|
|
|
}
|
|
|
}
|
|
|
|