diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2023-03-23 18:47:29 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2023-04-30 13:19:53 +1000 |
commit | db12853bbe825d69686ea71161497d1bbb120b8e (patch) | |
tree | ebfb066dfef8eb75acdc1ea2bd5f15ff4f4a6507 /pkg/gui/controllers/switch_to_sub_commits_controller.go | |
parent | 711674f6cd68ed3a35e5b0329ff0cf3289fbc7d1 (diff) |
lots of changes
Diffstat (limited to 'pkg/gui/controllers/switch_to_sub_commits_controller.go')
-rw-r--r-- | pkg/gui/controllers/switch_to_sub_commits_controller.go | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/pkg/gui/controllers/switch_to_sub_commits_controller.go b/pkg/gui/controllers/switch_to_sub_commits_controller.go index 28966c68f..c66151190 100644 --- a/pkg/gui/controllers/switch_to_sub_commits_controller.go +++ b/pkg/gui/controllers/switch_to_sub_commits_controller.go @@ -15,22 +15,22 @@ type CanSwitchToSubCommits interface { type SwitchToSubCommitsController struct { baseController - *controllerCommon + c *ControllerCommon context CanSwitchToSubCommits setSubCommits func([]*models.Commit) } func NewSwitchToSubCommitsController( - controllerCommon *controllerCommon, + controllerCommon *ControllerCommon, setSubCommits func([]*models.Commit), context CanSwitchToSubCommits, ) *SwitchToSubCommitsController { return &SwitchToSubCommitsController{ - baseController: baseController{}, - controllerCommon: controllerCommon, - context: context, - setSubCommits: setSubCommits, + baseController: baseController{}, + c: controllerCommon, + context: context, + setSubCommits: setSubCommits, } } |