Skip to content

Commit

Permalink
Update NoticeView.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
WindowsMEMZ authored Jan 18, 2024
1 parent bdb864c commit f5453f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DarockBili Watch App/Others/NoticeView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit f5453f9

Please sign in to comment.