Selaa lähdekoodia

fix <br /> on notification view

Marino Faggiana 6 vuotta sitten
vanhempi
commit
52fa921cad
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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