Skip to content

Commit

Permalink
Fix Cancel Button not having text (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
bwlok authored Jan 22, 2025
1 parent 9e39a37 commit 6e8c7ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/api/dialogs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export function showDialog(options: AlertProps) {
))}
{(options.cancelButton ?? true) && (
<Discord.AlertActionButton
text={Strings.CANCEL}
text={Strings.UNBOUND_CANCEL}
variant='secondary'
onPress={() => options.onCancel?.()}
/>
Expand Down
2 changes: 1 addition & 1 deletion src/ui/addons/install-modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export class InternalInstallInput extends PureComponent<InternalInstallModalProp
}}
/>
<Discord.Button
text={Strings.CANCEL}
text={Strings.UNBOUND_CANCEL}
style={{ marginTop: 12 }}
onPress={() => {
Discord.dismissAlerts();
Expand Down

0 comments on commit 6e8c7ec

Please sign in to comment.