Skip to content

Commit

Permalink
Don't show besm Allah in Surah 1 & 9 in translation view
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamede1945 committed Sep 19, 2024
1 parent 288e841 commit 641a9a4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Features/QuranTranslationFeature/TranslationItem+View.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@ extension TranslationPageFooter: View {

extension TranslationSuraName: View {
var body: some View {
QuranSuraName(suraName: sura.localizedName(withPrefix: false), besmAllah: sura.quran.arabicBesmAllah, besmAllahFontSize: arabicFontSize)
QuranSuraName(
suraName: sura.localizedName(withPrefix: false),
besmAllah: sura.startsWithBesmAllah ? sura.quran.arabicBesmAllah : "",
besmAllahFontSize: arabicFontSize
)
}
}

Expand Down

0 comments on commit 641a9a4

Please sign in to comment.