Remove unnecessary InitViews() from GomuksUI interface

This commit is contained in:
Tulir Asokan 2018-04-16 23:19:36 +03:00
parent e9141f6577
commit 36ed196454
2 changed files with 2 additions and 4 deletions

View File

@ -22,9 +22,9 @@ import (
"path/filepath" "path/filepath"
"maunium.net/go/gomatrix" "maunium.net/go/gomatrix"
"maunium.net/go/gomuks/debug"
"maunium.net/go/gomuks/matrix/pushrules" "maunium.net/go/gomuks/matrix/pushrules"
"maunium.net/go/gomuks/matrix/rooms" "maunium.net/go/gomuks/matrix/rooms"
"maunium.net/go/gomuks/debug"
) )
type Session struct { type Session struct {

View File

@ -19,11 +19,10 @@ package ifc
import ( import (
"time" "time"
"maunium.net/go/tcell"
"maunium.net/go/gomatrix" "maunium.net/go/gomatrix"
"maunium.net/go/gomuks/matrix/pushrules" "maunium.net/go/gomuks/matrix/pushrules"
"maunium.net/go/gomuks/matrix/rooms" "maunium.net/go/gomuks/matrix/rooms"
"maunium.net/go/tview" "maunium.net/go/tcell"
) )
type View string type View string
@ -37,7 +36,6 @@ const (
type GomuksUI interface { type GomuksUI interface {
Render() Render()
SetView(name View) SetView(name View)
InitViews() tview.Primitive
MainView() MainView MainView() MainView
LoginView() LoginView LoginView() LoginView
} }