mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 12:23:58 +01:00
parent
01112081ba
commit
154f1622b2
1 changed files with 1 additions and 1 deletions
|
|
@ -57,7 +57,7 @@ public class NotificationRenderer extends Renderer<Notification> {
|
|||
* @param notificationText
|
||||
*/
|
||||
private void setTitle(String notificationText) {
|
||||
notificationText = notificationText.trim().replaceAll("(^\\h*)|(\\h*$)", "");
|
||||
notificationText = notificationText.trim().replaceAll("(^\\s*)|(\\s*$)", "");
|
||||
notificationText = Html.fromHtml(notificationText).toString();
|
||||
notificationText = notificationText.concat(" ");
|
||||
title.setText(notificationText);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue