Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Allow modals to override their dismissal (#3565)
Joseph T. Lyons1fecd3c32761
diff --cc crates/theme_selector2/src/theme_selector.rsindex 2aa893b69cc,61f1cdf8fe0..6898b687a9d--- a/crates/theme_selector2/src/theme_selector.rs+++ b/crates/theme_selector2/src/theme_selector.rs@@@ -8,10 -8,10 +8,10 @@@ use gpui::use picker::{Picker, PickerDelegate};use settings::{update_settings_file, SettingsStore};use std::sync::Arc;-use theme::{Theme, ThemeRegistry, ThemeSettings};+use theme::{Theme, ThemeMeta, ThemeRegistry, ThemeSettings};use ui::{prelude::*, v_stack, ListItem};use util::ResultExt;- use workspace::{ui::HighlightedLabel, Workspace};+ use workspace::{ui::HighlightedLabel, ModalView, Workspace};actions!(Toggle, Reload);