Skip to content

Commit

Permalink
Added AppleColorEmoji as known Apple Emoji font name (#215)
Browse files Browse the repository at this point in the history
  • Loading branch information
rajdeep authored Aug 15, 2023
1 parent 0894de8 commit 244ed98
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Proton/Sources/Swift/Helpers/Text/FontExtensions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ public extension UIFont {
var isAppleEmoji: Bool {
return fontName == ".AppleColorEmojiUI" // inserted from iOS Emoji keyboard or macOS Character Viewer
|| fontName == "LastResort" // interesting font available since Mac OS 8.5 to render unsupported emoji
|| fontName == "AppleColorEmoji"
}

var textStyle: UIFont.TextStyle {
Expand Down

0 comments on commit 244ed98

Please sign in to comment.