Skip to content

Commit

Permalink
fix: don't display normal status window if using notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
anna-is-cute committed Mar 21, 2024
1 parent 04012f1 commit 041b473
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Ui/DownloadStatusWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ public void Dispose() {
}

private void Draw() {
if (this.Plugin.Config.UseNotificationProgress) {
return;
}

using var guard = this.Plugin.Downloads.Wait(0);
if (!this.Preview) {
if (guard == null) {
Expand Down

0 comments on commit 041b473

Please sign in to comment.