Skip to content

Commit

Permalink
Remove generic_family call on FallbackKey, mistakenly added.
Browse files Browse the repository at this point in the history
  • Loading branch information
xorgy committed Apr 19, 2024
1 parent 53985b0 commit 7ecc2b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fontique/backend/android.rs
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ impl SystemFonts {
})
.or_else(|| {
self.generic_families
.get(key.generic_family().unwrap_or(GenericFamily::SansSerif))
.get(GenericFamily::SansSerif)
.first()
.copied()
})
Expand Down

0 comments on commit 7ecc2b8

Please sign in to comment.