diff options
author | Stefan Haller <stefan@haller-berlin.de> | 2024-04-14 20:21:37 +0200 |
---|---|---|
committer | Stefan Haller <stefan@haller-berlin.de> | 2024-04-18 10:10:30 +0200 |
commit | 653994845ef9c1b7f47a9479ec70fd4cd64c5ab8 (patch) | |
tree | 3415b63f4a3c62e7e93dcfcae5718be275e0bd32 /pkg/gui/types | |
parent | bbad3a70ce522b28571a52b0a6c026464f9e2b3e (diff) |
Return error from RefreshOptions.Then
Diffstat (limited to 'pkg/gui/types')
-rw-r--r-- | pkg/gui/types/refresh.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/types/refresh.go b/pkg/gui/types/refresh.go index c20a5f54a..2d6a383c3 100644 --- a/pkg/gui/types/refresh.go +++ b/pkg/gui/types/refresh.go @@ -33,7 +33,7 @@ const ( ) type RefreshOptions struct { - Then func() + Then func() error Scope []RefreshableView // e.g. []RefreshableView{COMMITS, BRANCHES}. Leave empty to refresh everything Mode RefreshMode // one of SYNC (default), ASYNC, and BLOCK_UI |