Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Remove duplicate `load_system_fonts`call (#19374)
Alvaro Parker83ad28dfe721
diff --git a/crates/gpui/src/platform/linux/text_system.rs b/crates/gpui/src/platform/linux/text_system.rsindex 65cc512d19f..7a053bfc96a 100644--- a/crates/gpui/src/platform/linux/text_system.rs+++ b/crates/gpui/src/platform/linux/text_system.rs@@ -36,10 +36,8 @@ struct CosmicTextSystemState {impl CosmicTextSystem {pub(crate) fn new() -> Self {- let mut font_system = FontSystem::new();-// todo(linux) make font loading non-blocking- font_system.db_mut().load_system_fonts();+ let mut font_system = FontSystem::new();Self(RwLock::new(CosmicTextSystemState {font_system,