Skip to content

Commit

Permalink
Remove .font
Browse files Browse the repository at this point in the history
  • Loading branch information
peng-u-0807 committed Sep 29, 2024
1 parent 537546c commit 7502f61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SNUTT-2022/SNUTT/Views/Components/NoticeView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ struct NoticeView: View {
VStack(spacing: 8) {
if let title = title {
Text(title)
.font(STFont.title.font)
.font(STFont.title)
}
if let content = content {
Text(content)
.font(STFont.detailLabel.font)
.font(STFont.detailLabel)
.multilineTextAlignment(.center)
}
Spacer().frame(height: 4)
Expand Down

0 comments on commit 7502f61

Please sign in to comment.