Remove unnecessary InitViews() from GomuksUI interface
This commit is contained in:
parent
e9141f6577
commit
36ed196454
@ -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 {
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user