Skip to content

Commit

Permalink
Correct ci full name
Browse files Browse the repository at this point in the history
  • Loading branch information
creamlike1024 committed Feb 7, 2024
1 parent 62ba59f commit 4062f77
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions struct.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,14 @@ var Notifications []Notification
var ChipInfo EuiccInfo
var ApduDrivers []ApduDriver

type CertificateIdentifier struct {
type CertificateIssuer struct {
C interface{} `json:"C"`
CN interface{} `json:"CN"`
KeyID string `json:"keyID"`
CertData interface{} `json:"certData"`
}

var CIRegistry []CertificateIdentifier
var CIRegistry []CertificateIssuer

//go:embed ci-registry.json
var CIRegistryByte []byte
Expand Down
4 changes: 2 additions & 2 deletions widgets.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ func InitWidgets() {
CopyEidButton.Hide()
SetDefaultSmdpButton = &widget.Button{OnTapped: func() { go setDefaultSmdpButtonFunc() }, Icon: theme.DocumentCreateIcon()}
SetDefaultSmdpButton.Hide()
ViewCertInfoButton = &widget.Button{Text: "Certificate Identifier", OnTapped: func() { go viewCertInfoButtonFunc() }, Icon: theme.InfoIcon()}
ViewCertInfoButton = &widget.Button{Text: "Certificate Issuer", OnTapped: func() { go viewCertInfoButtonFunc() }, Icon: theme.InfoIcon()}
ViewCertInfoButton.Hide()
EUICCManufacturerLabel = widget.NewRichText()
EUICCManufacturerLabel.Hide()
Expand Down Expand Up @@ -549,7 +549,7 @@ func viewCertInfoButtonFunc() {
OnTapped: certDataButtonFunc,
Icon: theme.InfoIcon(),
}
d := dialog.NewCustom("Certificate Identifier", "OK", container.NewBorder(nil, container.NewCenter(certDataButton), nil, nil, list), WMain)
d := dialog.NewCustom("Certificate Issuer", "OK", container.NewBorder(nil, container.NewCenter(certDataButton), nil, nil, list), WMain)
d.Resize(fyne.Size{
Width: 600,
Height: 500,
Expand Down

0 comments on commit 4062f77

Please sign in to comment.