Refactor staff mode into a seperate crate and make copilot initialization wait for the staff mode flag to be flipped
This commit is contained in:
parent
1627cf7eae
commit
6bfecd7f66
14 changed files with 100 additions and 32 deletions
|
@ -15,6 +15,7 @@ gpui = { path = "../gpui" }
|
|||
picker = { path = "../picker" }
|
||||
theme = { path = "../theme" }
|
||||
settings = { path = "../settings" }
|
||||
staff_mode = { path = "../staff_mode" }
|
||||
workspace = { path = "../workspace" }
|
||||
util = { path = "../util" }
|
||||
log = { version = "0.4.16", features = ["kv_unstable_serde"] }
|
||||
|
|
|
@ -7,7 +7,7 @@ use picker::{Picker, PickerDelegate};
|
|||
use settings::{settings_file::SettingsFile, Settings};
|
||||
use std::sync::Arc;
|
||||
use theme::{Theme, ThemeMeta, ThemeRegistry};
|
||||
use util::StaffMode;
|
||||
use staff_mode::StaffMode;
|
||||
use workspace::{AppState, Workspace};
|
||||
|
||||
pub struct ThemeSelector {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue