|
|
@@ -480,6 +480,9 @@ class WebViewDialogFragment : BottomDialogFragment(R.layout.fragment_webview),
|
|
|
val existingDialog =supportFragmentManager.findFragmentByTag(Game.DailyTreasureDialog.TAG)
|
|
|
if (existingDialog != null) return
|
|
|
val viewModel = dailyTreasureViewModel ?: return
|
|
|
+ if (!isViewBindingValid()){
|
|
|
+ return
|
|
|
+ }
|
|
|
viewModel.loadDailyTreasureInfo(ActivityCode.DAILY_TREASURE.code).observe(viewLifecycleOwner) { result ->
|
|
|
when (result) {
|
|
|
is com.adealink.frame.base.Rlt.Success -> {
|