diff --git a/extensions/git/src/commands.ts b/extensions/git/src/commands.ts index cf97c0849a3..4e72e1b441a 100644 --- a/extensions/git/src/commands.ts +++ b/extensions/git/src/commands.ts @@ -2973,13 +2973,11 @@ export class CommandCenter { inputBox.placeholder = l10n.t('Branch name'); inputBox.prompt = l10n.t('Please provide a new branch name'); - inputBox.buttons = branchRandomNameEnabled ? [ - { - iconPath: new ThemeIcon('refresh'), - tooltip: l10n.t('Regenerate Branch Name'), - location: QuickInputButtonLocation.Inline - } - ] : []; + inputBox.buttons = branchRandomNameEnabled ? [{ + iconPath: new ThemeIcon('refresh'), + tooltip: l10n.t('Regenerate Branch Name'), + location: QuickInputButtonLocation.Input + }] : []; inputBox.value = initialValue ?? await getBranchName(); inputBox.valueSelection = getValueSelection(inputBox.value);