Fix DialogUtil

This commit is contained in:
MrLetsplay 2023-08-15 10:56:49 +02:00
parent 2bee44b735
commit 37a7eef5e1
Signed by: mr
SSH Key Fingerprint: SHA256:92jBH80vpXyaZHjaIl47pjRq+Yt7XGTArqQg1V7hSqg

View File

@ -71,6 +71,7 @@ public class DialogUtil {
if(initialData != null) {
binding.inputName.setText(initialData.getName());
binding.inputIssuer.setText(initialData.getIssuer());
binding.inputSecret.setText(initialData.getSecret());
binding.inputAlgorithm.setSelection(initialData.getAlgorithm().ordinal());
@ -135,6 +136,7 @@ public class DialogUtil {
if(initialData != null) {
binding.inputName.setText(initialData.getName());
binding.inputIssuer.setText(initialData.getIssuer());
binding.inputSecret.setText(initialData.getSecret());
binding.inputAlgorithm.setSelection(initialData.getAlgorithm().ordinal());