assistant2: Fix font fallbacks (#26258)

Release Notes:

- N/A
This commit is contained in:
0x2CA 2025-03-07 10:14:53 +08:00 committed by GitHub
parent 8422a81d88
commit 09c51f9641
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 0 deletions

View file

@ -389,6 +389,7 @@ impl Render for MessageEditor {
let text_style = TextStyle {
color: cx.theme().colors().text,
font_family: settings.ui_font.family.clone(),
font_fallbacks: settings.ui_font.fallbacks.clone(),
font_features: settings.ui_font.features.clone(),
font_size: font_size.into(),
font_weight: settings.ui_font.weight,