remove wasm support and drop unused code paths
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
use dock::{DockArea, DockEvent, DockLayout, DockPlacement, SignedDockSkin, panel_handle};
|
||||
use gpui::prelude::*;
|
||||
use gpui::{Context, Entity, Render, Subscription, Window, div, px};
|
||||
use gpui_component::{Root, StyledExt, Theme};
|
||||
use gpui_component::notification::NotificationType;
|
||||
use gpui_component::{Root, StyledExt, Theme, WindowExt};
|
||||
use settings::{AppearanceMode, SettingsStore};
|
||||
use signed_state::{Backend, BackendEvent};
|
||||
|
||||
@@ -66,6 +67,10 @@ impl Workspace {
|
||||
if matches!(event, BackendEvent::PassphraseRequired) {
|
||||
passphrase_dialog::open(window, cx);
|
||||
}
|
||||
|
||||
if let BackendEvent::Error(message) = event {
|
||||
window.push_notification((NotificationType::Error, message.clone()), cx);
|
||||
}
|
||||
},
|
||||
));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user