fix: disable editing of Public Key field (#1737)

This commit is contained in:
James Rich 2025-03-31 12:18:13 -05:00 committed by GitHub
parent d0816d3495
commit b6876bba64
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -83,7 +83,7 @@ fun SecurityConfigItemList(
EditBase64Preference(
title = "Public Key",
value = securityInput.publicKey,
enabled = enabled,
enabled = false,
keyboardActions = KeyboardActions(onDone = { focusManager.clearFocus() }),
onValueChange = {
if (it.size() == 32) {