summaryrefslogtreecommitdiffstats
path: root/pkg/gui/app_status_manager.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/gui/app_status_manager.go')
-rw-r--r--pkg/gui/app_status_manager.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/gui/app_status_manager.go b/pkg/gui/app_status_manager.go
index 2c5a8b1ec..21cf353a4 100644
--- a/pkg/gui/app_status_manager.go
+++ b/pkg/gui/app_status_manager.go
@@ -94,7 +94,7 @@ func (gui *Gui) renderAppStatus() {
defer ticker.Stop()
for range ticker.C {
appStatus := gui.statusManager.getStatusString()
- gui.OnUIThread(func() error {
+ gui.c.OnUIThread(func() error {
return gui.renderString(gui.Views.AppStatus, appStatus)
})
@@ -117,7 +117,7 @@ func (gui *Gui) withWaitingStatus(message string, f func() error) error {
gui.renderAppStatus()
if err := f(); err != nil {
- gui.OnUIThread(func() error {
+ gui.c.OnUIThread(func() error {
return gui.c.Error(err)
})
}