Example #1
0
        internal override void RefreshTime(object statusInfo)
        {
            if (ExpEnv.IsSyncEnabled)
            {
                SyncHelper.Update(SyncHelper.SyncTarget.Expedition).GetAwaiter().OnCompleted(() =>
                {
                    NotiManager.ReloadNotiList <ExpeditionNoti>();

                    base.RefreshTime(statusInfo);
                });
            }
            else
            {
                base.RefreshTime(statusInfo);
            }
        }
Example #2
0
 public void UpdateInfo <T>() where T : Noti
 {
     _manager.ReloadNotiList <T>();
 }