diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2022-02-23 19:44:48 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2022-03-17 19:13:40 +1100 |
commit | 46e9946854086f170ec01f12daf075e197e420f7 (patch) | |
tree | 93ef30013ddde640da6a71f0037a1147e712337b /pkg/gui/gui_common.go | |
parent | d0805616e410bdf37f42737782cdc309ef1dd17a (diff) |
refactor credential handling
Diffstat (limited to 'pkg/gui/gui_common.go')
-rw-r--r-- | pkg/gui/gui_common.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/gui/gui_common.go b/pkg/gui/gui_common.go index 2f44ebbce..7d8354bf6 100644 --- a/pkg/gui/gui_common.go +++ b/pkg/gui/gui_common.go @@ -65,3 +65,7 @@ func (self *guiCommon) Render() { func (self *guiCommon) OpenSearch() { _ = self.gui.handleOpenSearch(self.gui.currentViewName()) } + +func (self *guiCommon) OnUIThread(f func() error) { + self.gui.OnUIThread(f) +} |