fix: mark loading outside of task
This commit is contained in:
parent
fadfd65b97
commit
c18c55675c
|
@ -47,9 +47,10 @@ internal class QuestionManager : IDisposable, IReadOnlyList<IQuestion> {
|
|||
return;
|
||||
}
|
||||
|
||||
this.Loading = true;
|
||||
this._page = Math.Max(1, value);
|
||||
|
||||
Task.Run(async () => {
|
||||
this.Loading = true;
|
||||
using var notLoading = new OnDispose(() => this.Loading = false);
|
||||
await this.Check();
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue