Skip to content

Commit 7a0bcd7

Browse files
authored
fix: override font in the footnote text in the footnotesView also
fix: override font in the footnote text in the footnotesView also
1 parent 74850aa commit 7a0bcd7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Sources/YouVersionPlatformReader/Sheets/BibleReaderFootnotesView.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,11 @@ struct BibleReaderFootnotesView: View {
3232
VStack(alignment: .leading) {
3333
ForEach(Array(viewModel.footnotesToDisplay.enumerated()), id: \.offset) { index, footnote in
3434
let character = String(UnicodeScalar(97 + (index % 26))!)
35+
let txt = footnote.text.setFont(.footnote, from: BibleTextFonts(familyName: "San Francisco", baseSize: 15))
3536
HStack(alignment: .firstTextBaseline) {
3637
Text(character + ".")
3738
.font(ReaderFonts.fontLabelS)
38-
Text(footnote.text.asAttributedString)
39+
Text(txt.asAttributedString)
3940
.multilineTextAlignment(.leading)
4041
}
4142
Divider()

0 commit comments

Comments
 (0)