mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-29 11:15:51 +00:00
Replace found option params
This commit is contained in:
parent
ef34d04027
commit
7c3543f79f
1 changed files with 3 additions and 0 deletions
|
@ -426,6 +426,9 @@ public class FragmentOptions extends FragmentBase {
|
||||||
} else if (view instanceof TextView) {
|
} else if (view instanceof TextView) {
|
||||||
String description = ((TextView) view).getText().toString();
|
String description = ((TextView) view).getText().toString();
|
||||||
if (description.toLowerCase().contains(query)) {
|
if (description.toLowerCase().contains(query)) {
|
||||||
|
description = description
|
||||||
|
.replace("%%", "%")
|
||||||
|
.replaceAll("%([0-9]\\$)?[sd]", "#");
|
||||||
String text = view.getContext().getString(R.string.title_title_description, title, description);
|
String text = view.getContext().getString(R.string.title_title_description, title, description);
|
||||||
cursor.newRow()
|
cursor.newRow()
|
||||||
.add(id++)
|
.add(id++)
|
||||||
|
|
Loading…
Reference in a new issue