Fix DialogUtil
This commit is contained in:
parent
2bee44b735
commit
37a7eef5e1
@ -71,6 +71,7 @@ public class DialogUtil {
|
|||||||
|
|
||||||
if(initialData != null) {
|
if(initialData != null) {
|
||||||
binding.inputName.setText(initialData.getName());
|
binding.inputName.setText(initialData.getName());
|
||||||
|
binding.inputIssuer.setText(initialData.getIssuer());
|
||||||
binding.inputSecret.setText(initialData.getSecret());
|
binding.inputSecret.setText(initialData.getSecret());
|
||||||
binding.inputAlgorithm.setSelection(initialData.getAlgorithm().ordinal());
|
binding.inputAlgorithm.setSelection(initialData.getAlgorithm().ordinal());
|
||||||
|
|
||||||
@ -135,6 +136,7 @@ public class DialogUtil {
|
|||||||
|
|
||||||
if(initialData != null) {
|
if(initialData != null) {
|
||||||
binding.inputName.setText(initialData.getName());
|
binding.inputName.setText(initialData.getName());
|
||||||
|
binding.inputIssuer.setText(initialData.getIssuer());
|
||||||
binding.inputSecret.setText(initialData.getSecret());
|
binding.inputSecret.setText(initialData.getSecret());
|
||||||
binding.inputAlgorithm.setSelection(initialData.getAlgorithm().ordinal());
|
binding.inputAlgorithm.setSelection(initialData.getAlgorithm().ordinal());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user