aboutsummaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2018-03-23 14:44:36 +0200
committerTulir Asokan <tulir@maunium.net>2018-03-23 14:44:36 +0200
commit03e9a0d5ac5329a6e74f3e3bf34ef590c863a6d3 (patch)
treede6c068cf050ba331761a9b61819dfc89e18391e /ui
parent7cc55ade3060ee71c4ae38462a27bf92d6c2c932 (diff)
Documentation and refactoring
Diffstat (limited to 'ui')
-rw-r--r--ui/view-login.go2
-rw-r--r--ui/view-main.go2
2 files changed, 2 insertions, 2 deletions
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,