mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-04-20 22:09:12 +00:00
Fix crash when using non latin language
This commit is contained in:
parent
8562fafda7
commit
dd88f5bb0c
1 changed files with 1 additions and 1 deletions
|
@ -714,7 +714,7 @@ public class EntryAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder>
|
|||
int entriesShown = getEntriesCount();
|
||||
SpannableString entriesShownSpannable = new SpannableString(_footerView.getResources().getQuantityString(R.plurals.entries_shown, entriesShown, entriesShown));
|
||||
|
||||
String entriesShownString = String.valueOf(entriesShown);
|
||||
String entriesShownString = String.format("%d", entriesShown);
|
||||
int spanStart = entriesShownSpannable.toString().indexOf(entriesShownString);
|
||||
int spanEnd = spanStart + entriesShownString.length();
|
||||
entriesShownSpannable.setSpan(new StyleSpan(Typeface.BOLD), spanStart, spanEnd, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
|
||||
|
|
Loading…
Add table
Reference in a new issue