From 36ed196454df774f290c7bfd7e1af0ef052932a8 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Mon, 16 Apr 2018 23:19:36 +0300 Subject: Remove unnecessary InitViews() from GomuksUI interface --- config/session.go | 2 +- 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 } -- cgit v1.2.3