|
@@ -55,6 +55,7 @@ namespace GFGGame
|
|
|
{
|
|
|
base.OnHide();
|
|
|
_cfgs.Clear();
|
|
|
+ if (_ui.m_list.numItems > 0) _ui.m_list.ScrollToView(0);
|
|
|
}
|
|
|
|
|
|
protected override void RemoveEventListener()
|
|
@@ -91,11 +92,14 @@ namespace GFGGame
|
|
|
{
|
|
|
param[i] = cfg.jumpParamArr[i];
|
|
|
}
|
|
|
- // ViewManager.Hide<StroyFightResultView>();
|
|
|
+ if (cfg.jumpId != nameof(FirstChargeBonusView))
|
|
|
+ {
|
|
|
|
|
|
+ ViewManager.Hide<StroyFightResultView>();
|
|
|
+ Hide();
|
|
|
+ }
|
|
|
ViewManager.JumpToView(cfg.jumpId, param, null);
|
|
|
// ViewManager.Show<MainUIView>();
|
|
|
- // Hide();
|
|
|
|
|
|
}
|
|
|
}
|