From 03e9a0d5ac5329a6e74f3e3bf34ef590c863a6d3 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Fri, 23 Mar 2018 14:44:36 +0200 Subject: Documentation and refactoring --- ui/view-login.go | 2 +- ui/view-main.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'ui') diff --git a/ui/view-login.go b/ui/view-login.go index 0707b2d..ff0e44e 100644 --- a/ui/view-login.go +++ b/ui/view-login.go @@ -44,7 +44,7 @@ func (ui *GomuksUI) NewLoginView() tview.Primitive { username: widget.NewAdvancedInputField(), password: widget.NewAdvancedInputField(), - matrix: ui.gmx.MatrixContainer(), + matrix: ui.gmx.Matrix(), config: ui.gmx.Config(), parent: ui, } diff --git a/ui/view-main.go b/ui/view-main.go index dc86ad5..1f14943 100644 --- a/ui/view-main.go +++ b/ui/view-main.go @@ -56,7 +56,7 @@ func (ui *GomuksUI) NewMainView() tview.Primitive { roomView: tview.NewPages(), rooms: make(map[string]*widget.RoomView), - matrix: ui.gmx.MatrixContainer(), + matrix: ui.gmx.Matrix(), gmx: ui.gmx, config: ui.gmx.Config(), parent: ui, -- cgit v1.2.3