Skip to content

Commit 2324c80

Browse files
committed
Add custom buttons.
1 parent 85b17df commit 2324c80

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

osx/src/main/java/cloud/katta/controller/DeviceSetupController.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ public NSAlert loadAlert() {
5050
alert.setInformativeText(new StringAppender()
5151
.append(LocaleFactory.localizedString("This is your first login on this device.", "Hub"))
5252
.append(LocaleFactory.localizedString("Your Account Key is required to link this browser to your account.", "Hub")).toString());
53+
alert.addButtonWithTitle(LocaleFactory.localizedString("Finish Setup", "Hub"));
54+
alert.addButtonWithTitle(LocaleFactory.localizedString("Cancel", "Alert"));
5355
alert.setShowsSuppressionButton(true);
5456
alert.suppressionButton().setTitle(LocaleFactory.localizedString("Add to Keychain", "Login"));
5557
alert.suppressionButton().setState(PreferencesFactory.get().getBoolean("cryptomator.vault.keychain") ? NSCell.NSOnState : NSCell.NSOffState);

0 commit comments

Comments
 (0)