diff options
author | Tulir Asokan <tulir@maunium.net> | 2018-04-16 23:19:36 +0300 |
---|---|---|
committer | Tulir Asokan <tulir@maunium.net> | 2018-04-17 01:06:22 +0300 |
commit | 36ed196454df774f290c7bfd7e1af0ef052932a8 (patch) | |
tree | 15d33f16f413fd487fd776c97a8dac74416008f1 | |
parent | e9141f6577579febe698aedd65c2ba06e7175183 (diff) |
Remove unnecessary InitViews() from GomuksUI interface
-rw-r--r-- | config/session.go | 2 | ||||
-rw-r--r-- | interface/ui.go | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/config/session.go b/config/session.go index 26d0daa..7ceaf56 100644 --- a/config/session.go +++ b/config/session.go @@ -22,9 +22,9 @@ import ( "path/filepath" "maunium.net/go/gomatrix" + "maunium.net/go/gomuks/debug" "maunium.net/go/gomuks/matrix/pushrules" "maunium.net/go/gomuks/matrix/rooms" - "maunium.net/go/gomuks/debug" ) type Session struct { diff --git a/interface/ui.go b/interface/ui.go index e6071fc..27212af 100644 --- a/interface/ui.go +++ b/interface/ui.go @@ -19,11 +19,10 @@ package ifc import ( "time" - "maunium.net/go/tcell" "maunium.net/go/gomatrix" "maunium.net/go/gomuks/matrix/pushrules" "maunium.net/go/gomuks/matrix/rooms" - "maunium.net/go/tview" + "maunium.net/go/tcell" ) type View string @@ -37,7 +36,6 @@ const ( type GomuksUI interface { Render() SetView(name View) - InitViews() tview.Primitive MainView() MainView LoginView() LoginView } |