diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2022-02-23 19:44:48 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2022-03-17 19:13:40 +1100 |
commit | 46e9946854086f170ec01f12daf075e197e420f7 (patch) | |
tree | 93ef30013ddde640da6a71f0037a1147e712337b /pkg/gui/context | |
parent | d0805616e410bdf37f42737782cdc309ef1dd17a (diff) |
refactor credential handling
Diffstat (limited to 'pkg/gui/context')
-rw-r--r-- | pkg/gui/context/context.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/pkg/gui/context/context.go b/pkg/gui/context/context.go index f57cb507d..add336cfd 100644 --- a/pkg/gui/context/context.go +++ b/pkg/gui/context/context.go @@ -24,7 +24,6 @@ const ( MAIN_PATCH_BUILDING_CONTEXT_KEY types.ContextKey = "patchBuilding" MAIN_STAGING_CONTEXT_KEY types.ContextKey = "staging" MENU_CONTEXT_KEY types.ContextKey = "menu" - CREDENTIALS_CONTEXT_KEY types.ContextKey = "credentials" CONFIRMATION_CONTEXT_KEY types.ContextKey = "confirmation" SEARCH_CONTEXT_KEY types.ContextKey = "search" COMMIT_MESSAGE_CONTEXT_KEY types.ContextKey = "commitMessage" @@ -51,7 +50,6 @@ var AllContextKeys = []types.ContextKey{ MAIN_PATCH_BUILDING_CONTEXT_KEY, MAIN_STAGING_CONTEXT_KEY, // not focusable for secondary view MENU_CONTEXT_KEY, - CREDENTIALS_CONTEXT_KEY, CONFIRMATION_CONTEXT_KEY, SEARCH_CONTEXT_KEY, COMMIT_MESSAGE_CONTEXT_KEY, @@ -80,7 +78,6 @@ type ContextTree struct { Staging types.Context PatchBuilding types.Context Merging types.Context - Credentials types.Context Confirmation types.Context CommitMessage types.Context Search types.Context @@ -103,7 +100,6 @@ func (self *ContextTree) Flatten() []types.Context { self.Stash, self.Menu, self.Confirmation, - self.Credentials, self.CommitMessage, self.Normal, self.Staging, |