Skip to content

Commit

Permalink
don't preset value in password dialog (easier, otherwise old password…
Browse files Browse the repository at this point in the history
… needs to be deleted first, you don't see it, so editing is not very likely, also length would give a hint)
  • Loading branch information
hg42 committed Sep 29, 2022
1 parent a54094d commit 7d0fe0a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ fun StringDialogUI(
textFieldFocusRequester.requestFocus()
}
var savedValue by remember {
mutableStateOf(pref.value)
mutableStateOf(if(isPrivate) "" else pref.value)
}

Card(
Expand Down

0 comments on commit 7d0fe0a

Please sign in to comment.