diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2022-03-26 17:08:23 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2022-03-26 17:22:42 +1100 |
commit | e039429885996f1335430a856b846d8dc6279325 (patch) | |
tree | b33c536d4cbf1d4f64fdb106ea60f396508cf580 /pkg/gui/controllers | |
parent | e0b05f44647a22bd37515c3dfe1fb97a117716bb (diff) |
better wording again
Diffstat (limited to 'pkg/gui/controllers')
-rw-r--r-- | pkg/gui/controllers/switch_to_sub_commits_controller.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/gui/controllers/switch_to_sub_commits_controller.go b/pkg/gui/controllers/switch_to_sub_commits_controller.go index f7e9f6702..abd8642d3 100644 --- a/pkg/gui/controllers/switch_to_sub_commits_controller.go +++ b/pkg/gui/controllers/switch_to_sub_commits_controller.go @@ -8,7 +8,7 @@ import ( var _ types.IController = &SwitchToSubCommitsController{} -type ContextWithRefName interface { +type CanSwitchToSubCommits interface { types.Context GetSelectedRefName() string } @@ -16,7 +16,7 @@ type ContextWithRefName interface { type SwitchToSubCommitsController struct { baseController *controllerCommon - context ContextWithRefName + context CanSwitchToSubCommits setSubCommits func([]*models.Commit) } @@ -24,7 +24,7 @@ type SwitchToSubCommitsController struct { func NewSwitchToSubCommitsController( controllerCommon *controllerCommon, setSubCommits func([]*models.Commit), - context ContextWithRefName, + context CanSwitchToSubCommits, ) *SwitchToSubCommitsController { return &SwitchToSubCommitsController{ baseController: baseController{}, |