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
|
@ -38,9 +38,9 @@ use welcome::{show_welcome_experience, FIRST_OPEN};
|
|||
|
||||
use fs::RealFs;
|
||||
use settings::watched_json::WatchedJsonFile;
|
||||
use theme::ThemeRegistry;
|
||||
#[cfg(debug_assertions)]
|
||||
use util::StaffMode;
|
||||
use staff_mode::StaffMode;
|
||||
use theme::ThemeRegistry;
|
||||
use util::{channel::RELEASE_CHANNEL, paths, ResultExt, TryFutureExt};
|
||||
use workspace::{
|
||||
self, dock::FocusDock, item::ItemHandle, notifications::NotifyResultExt, AppState, NewFile,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue