Browse Source

fix <br /> on notification view

Marino Faggiana 6 năm trước cách đây
mục cha
commit
52fa921cad
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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