[update] Hide private key after user input

This commit is contained in:
acite
2025-08-25 15:21:54 +08:00
parent c2d348ddfb
commit c4d5a5cb95
4 changed files with 37 additions and 12 deletions

View File

@@ -94,8 +94,7 @@ fun MeScreen(meScreenViewModel: MeScreenViewModel = viewModel())
// Save Button
Button(
onClick = {
meScreenViewModel.updateAccount(username, privateKey);
Toast.makeText(context, "Account updated", Toast.LENGTH_SHORT).show()
meScreenViewModel.updateAccount(username, privateKey, context)
},
modifier = Modifier.fillMaxWidth()
) {