Skip to content

Commit

Permalink
Make Translator name footnote to not interfere with the translation t…
Browse files Browse the repository at this point in the history
…ext (#664)
  • Loading branch information
mohamede1945 authored Sep 16, 2024
1 parent 8d4758f commit fb3f8c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ private struct ContentTranslationPreview: View {

let quran = Quran.hafsMadani1405

let fontSize = FontSize.medium
let fontSize = FontSize.large

var translation: Translation {
Translation(
Expand Down
2 changes: 1 addition & 1 deletion UI/NoorUI/Features/Quran/QuranTranslatorName.swift
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public struct QuranTranslatorName: View {
public var body: some View {
Text(verbatim: "- \(name)")
.foregroundColor(.secondaryLabel)
.font(.body)
.font(.footnote)
.dynamicTypeSize(fontSize.dynamicTypeSize)
.textAlignment(follows: characterDirection)
.padding(.bottom, bottomPadding)
Expand Down

0 comments on commit fb3f8c9

Please sign in to comment.