Private
Public Access
1
0

Rename shared.State to shared.Shared

This commit is contained in:
2024-06-08 22:01:16 +00:00
parent c9e92e186e
commit c1ead83939
7 changed files with 36 additions and 36 deletions

View File

@@ -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