diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2023-03-23 12:35:07 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2023-04-30 13:19:53 +1000 |
commit | 43251e727596cca2538548976769e47a1bfc5593 (patch) | |
tree | 280e4f0609ca58bbbaeb80446fa0d14a7e58a993 /pkg/gui/context/remotes_context.go | |
parent | f08135894344583394240f240377015ea874b03b (diff) |
split context common from helper common
Diffstat (limited to 'pkg/gui/context/remotes_context.go')
-rw-r--r-- | pkg/gui/context/remotes_context.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/context/remotes_context.go b/pkg/gui/context/remotes_context.go index a194baec8..d1082ab52 100644 --- a/pkg/gui/context/remotes_context.go +++ b/pkg/gui/context/remotes_context.go @@ -16,7 +16,7 @@ var ( _ types.DiffableContext = (*RemotesContext)(nil) ) -func NewRemotesContext(c *types.HelperCommon) *RemotesContext { +func NewRemotesContext(c *ContextCommon) *RemotesContext { viewModel := NewBasicViewModel(func() []*models.Remote { return c.Model().Remotes }) getDisplayStrings := func(startIdx int, length int) [][]string { |