aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/java/com/zeapo/pwdstore/autofill/AutofillFragment.java
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/java/com/zeapo/pwdstore/autofill/AutofillFragment.java')
-rw-r--r--app/src/main/java/com/zeapo/pwdstore/autofill/AutofillFragment.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/src/main/java/com/zeapo/pwdstore/autofill/AutofillFragment.java b/app/src/main/java/com/zeapo/pwdstore/autofill/AutofillFragment.java
index 8cf58206..e708c19d 100644
--- a/app/src/main/java/com/zeapo/pwdstore/autofill/AutofillFragment.java
+++ b/app/src/main/java/com/zeapo/pwdstore/autofill/AutofillFragment.java
@@ -54,10 +54,10 @@ public class AutofillFragment extends DialogFragment {
case "":
((RadioButton) view.findViewById(R.id.use_default)).toggle();
break;
- case "first":
+ case "/first":
((RadioButton) view.findViewById(R.id.first)).toggle();
break;
- case "never":
+ case "/never":
((RadioButton) view.findViewById(R.id.never)).toggle();
break;
default:
@@ -87,10 +87,10 @@ public class AutofillFragment extends DialogFragment {
editor.remove(packageName);
break;
case R.id.first:
- editor.putString(packageName, "first");
+ editor.putString(packageName, "/first");
break;
case R.id.never:
- editor.putString(packageName, "never");
+ editor.putString(packageName, "/never");
break;
default:
EditText matched = (EditText) view.findViewById(R.id.matched);