From 0b58e148cd2fcfd357fcf97a24af877d4625fed5 Mon Sep 17 00:00:00 2001 From: Thomas Stromberg Date: Wed, 13 Aug 2025 09:50:45 -0400 Subject: [PATCH] Only redraw menu if there are changes --- cmd/goose/github.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cmd/goose/github.go b/cmd/goose/github.go index 12c0901..05ea632 100644 --- a/cmd/goose/github.go +++ b/cmd/goose/github.go @@ -610,8 +610,10 @@ func (app *App) fetchTurnDataAsync(ctx context.Context, issues []*github.Issue, } } - // Check for newly blocked PRs after Turn data is applied - app.checkForNewlyBlockedPRs(ctx) + // Only check for newly blocked PRs if there were actual changes + if actualChanges > 0 { + app.checkForNewlyBlockedPRs(ctx) + } // Update tray title and menu with final Turn data if menu is already initialized app.setTrayTitle()