Merge branch 'dev' into m_10.12.0

This commit is contained in:
xtaodada 2024-06-03 15:41:38 +08:00
commit ffc9d36a44
Signed by: xtaodada
GPG Key ID: 4CBB3F4FA8C85659
2 changed files with 4 additions and 1 deletions

View File

@ -15,7 +15,7 @@ repositories {
}
def verName = "10.12.0"
def verCode = 1175
def verCode = 1176
def officialVer = "10.12.0"

View File

@ -4052,6 +4052,9 @@ public class ArticleViewer implements NotificationCenter.NotificationCenterDeleg
if (object instanceof TLRPC.RichText) {
TLRPC.RichText richText = (TLRPC.RichText) object;
CharSequence innerText = getText(adapter[0], null, richText, richText, block, 1000);
if (!TextUtils.isEmpty(innerText)) {
textToSearchIn = innerText.toString().toLowerCase();
}
} else if (object instanceof String) {
textToSearchIn = ((String) object).toLowerCase();
}