Skip to content

Commit 9494f25

Browse files
committed
Small text fixes in the "manage certificate" dialog
1 parent c11610b commit 9494f25

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

systray/systray_real.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ func (s *Systray) start() {
103103
if err != nil {
104104
log.Errorf("cannot get certificates expiration date, something went wrong: %s", err)
105105
}
106-
infoMsg = infoMsg + "- Certificate installed: Yes\n- Certificate trusted: Yes\n- Certificate expiration date: " + expDate.Format(time.DateTime)
106+
infoMsg = infoMsg + "- Certificate installed:\t\tYes\n- Certificate trusted:\t\tYes\n- Certificate expiration:\t" + expDate.Format(time.DateTime)
107107
buttons = "{\"Uninstall the certificate for Safari\", \"OK\"}"
108108
toPress = "Uninstall the certificate for Safari"
109109
pressedButton := utilities.UserPrompt(infoMsg, buttons, "OK", toPress, "Arduino Agent: Manage HTTPS certificate")
@@ -121,7 +121,7 @@ func (s *Systray) start() {
121121
s.Restart()
122122
}
123123
} else {
124-
infoMsg = infoMsg + "- Certificate installed: No\n- Certificate trusted: N/A\n- Certificate expiration date: N/A"
124+
infoMsg = infoMsg + "- Certificate installed:\t\tNo\n- Certificate trusted:\t\tN/A\n- Certificate expiration:\tN/A"
125125
pressedButton := utilities.UserPrompt(infoMsg, buttons, "OK", toPress, "Arduino Agent: Manage HTTPS certificate")
126126
if pressedButton {
127127
cert.GenerateAndInstallCertificates(certDir)

0 commit comments

Comments
 (0)