Skip to content

Commit 1350827

Browse files
committed
Add more icons to ok-cancel buttons
1 parent 48cc915 commit 1350827

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

app/src/ui/changes/no-changes.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,6 @@ function buildMenuItemInfoMap(
168168
continue
169169
}
170170

171-
console.warn('item', item)
172171
const infoItem: IMenuItemInfo = {
173172
label: item.label as string,
174173
acceleratorKeys: getItemAcceleratorKeys(item),

app/src/ui/dialog/ok-cancel-button-group.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,11 @@ export class OkCancelButtonGroup extends React.Component<
169169
private getOkButtonIcon(text: string): OcticonSymbol | null {
170170
switch (text.toLowerCase()) {
171171
case 'delete':
172+
case 'remove':
172173
case 'discard':
173174
return octicons.trash
175+
case 'save':
176+
return octicons.check
174177
default:
175178
return null
176179
}

0 commit comments

Comments
 (0)