Rename shared.State to shared.Shared
This commit is contained in:
@@ -28,7 +28,7 @@ type (
|
||||
)
|
||||
|
||||
type Model struct {
|
||||
shared.State
|
||||
shared.Shared
|
||||
shared.Sections
|
||||
|
||||
conversations []loadedConversation
|
||||
@@ -38,9 +38,9 @@ type Model struct {
|
||||
content viewport.Model
|
||||
}
|
||||
|
||||
func Conversations(state shared.State) Model {
|
||||
func Conversations(shared shared.Shared) Model {
|
||||
m := Model{
|
||||
State: state,
|
||||
Shared: shared,
|
||||
content: viewport.New(0, 0),
|
||||
}
|
||||
return m
|
||||
|
||||
Reference in New Issue
Block a user