Переглянути джерело

fix <br /> on notification view

Marino Faggiana 6 роки тому
батько
коміт
52fa921cad
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      iOSClient/Notification/CCNotification.swift

+ 1 - 1
iOSClient/Notification/CCNotification.swift

@@ -207,7 +207,7 @@ class CCNotification: UITableViewController {
             //
             cell.date.text = CCUtility.dateDiff(notification.date)
             cell.subject.text = notification.subject
-            cell.message.text = notification.message
+            cell.message.text = notification.message.replacingOccurrences(of: "<br />", with: "\n")
         }
         
         return cell