Skip to content

Commit

Permalink
add delete buttons to the certificate-key pair import form to clear s…
Browse files Browse the repository at this point in the history
…elected files
  • Loading branch information
sunny-chung committed Nov 15, 2024
1 parent 6066881 commit 4cf8e31
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -606,6 +606,9 @@ fun CertificateKeyPairImportForm(modifier: Modifier = Modifier, onAddItem: (Clie
)!!
)
)
AppDeleteButton(modifier = Modifier.padding(horizontal = 6.dp)) {
certFile = null
}
}
Row(verticalAlignment = Alignment.CenterVertically) {
AppText(text = "Private Key", modifier = Modifier.width(headerColumnWidth))
Expand All @@ -620,6 +623,9 @@ fun CertificateKeyPairImportForm(modifier: Modifier = Modifier, onAddItem: (Clie
)!!
)
)
AppDeleteButton(modifier = Modifier.padding(horizontal = 6.dp)) {
keyFile = null
}
}
}
Box(contentAlignment = Alignment.Center) {
Expand All @@ -646,6 +652,9 @@ fun CertificateKeyPairImportForm(modifier: Modifier = Modifier, onAddItem: (Clie
)!!
)
)
AppDeleteButton(modifier = Modifier.padding(horizontal = 6.dp)) {
bundleFile = null
}
}

Row(verticalAlignment = Alignment.CenterVertically) {
Expand Down

0 comments on commit 4cf8e31

Please sign in to comment.