diff options
author | Tulir Asokan <tulir@maunium.net> | 2018-03-22 23:03:45 +0200 |
---|---|---|
committer | Tulir Asokan <tulir@maunium.net> | 2018-03-22 23:03:45 +0200 |
commit | 497ae566c0fdc3583272a49798d190ebca99e02b (patch) | |
tree | 49261a7c977c3c8c6db6995dfaf204699e709ea2 /ui/ui.go | |
parent | b93dea2e1c18752b89b09790b390e54c33dda1bf (diff) |
Move LoginView to own struct
Diffstat (limited to 'ui/ui.go')
-rw-r--r-- | ui/ui.go | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -28,7 +28,7 @@ type GomuksUI struct { views *tview.Pages mainView *MainView - loginView *tview.Form + loginView *LoginView } func init() { @@ -63,3 +63,7 @@ func (ui *GomuksUI) InitViews() tview.Primitive { func (ui *GomuksUI) MainView() ifc.MainView { return ui.mainView } + +func (ui *GomuksUI) LoginView() ifc.LoginView { + return ui.loginView +} |