Преглед изворни кода

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