diff options
author | Matthew Wong <wongma@protonmail.ch> | 2015-11-07 17:31:11 -0500 |
---|---|---|
committer | Matthew Wong <wongma@protonmail.ch> | 2015-11-07 20:17:45 -0500 |
commit | 7a9ed6897d598481d61970f79e9989efae178b69 (patch) | |
tree | f558769cf439c67dc5fc38f0af5d7c9d1326b0d7 /app | |
parent | a22cd874fdbb92a0648d98be2ceef868d2650ad9 (diff) |
Per-app settings hint text show # of picked matches
Diffstat (limited to 'app')
-rw-r--r-- | app/src/main/java/com/zeapo/pwdstore/autofill/AutofillRecyclerAdapter.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/src/main/java/com/zeapo/pwdstore/autofill/AutofillRecyclerAdapter.java b/app/src/main/java/com/zeapo/pwdstore/autofill/AutofillRecyclerAdapter.java index 54be40dc..eddf075e 100644 --- a/app/src/main/java/com/zeapo/pwdstore/autofill/AutofillRecyclerAdapter.java +++ b/app/src/main/java/com/zeapo/pwdstore/autofill/AutofillRecyclerAdapter.java @@ -111,6 +111,10 @@ public class AutofillRecyclerAdapter extends RecyclerView.Adapter<AutofillRecycl break; default: holder.secondary.setText("Match with " + preference.split("\n")[0]); + if ((preference.trim().split("\n").length - 1) > 0) { + holder.secondary.append(" and " + + (preference.trim().split("\n").length - 1) + " more"); + } break; } } |