mirror of
https://github.com/android-password-store/Android-Password-Store.git
synced 2026-04-24 00:30:35 +02:00
Per-app settings hint text show # of picked matches
This commit is contained in:
parent
a22cd874fd
commit
7a9ed6897d
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue