From f5453f9aa5dd2294f8e5945e2439d3cd9e17a254 Mon Sep 17 00:00:00 2001 From: Mark Chan <45706356+WindowsMEMZ@users.noreply.github.com> Date: Fri, 19 Jan 2024 00:26:01 +0800 Subject: [PATCH] Update NoticeView.swift --- DarockBili Watch App/Others/NoticeView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DarockBili Watch App/Others/NoticeView.swift b/DarockBili Watch App/Others/NoticeView.swift index 543ec7cb2..367747373 100644 --- a/DarockBili Watch App/Others/NoticeView.swift +++ b/DarockBili Watch App/Others/NoticeView.swift @@ -29,7 +29,7 @@ struct NoticeView: View { DarockKit.Network.shared.requestString("https://api.darock.top/bili/notice/detail") { respStr, isSuccess in if isSuccess { if respStr.apiFixed() != "" { - noticeDetail = respStr.apiFixed() + noticeDetail = respStr.apiFixed().replacingOccurrences(of: "\\n", with: "\n") } else { DarockKit.Network.shared.requestString("https://api.darock.top/bili/notice") { respStr, isSuccess in if isSuccess {