Update workspace.rs

This commit is contained in:
Mikayla Maki 2022-09-09 17:36:25 -07:00 committed by GitHub
parent 98781eabf6
commit 47fd93de8d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2189,7 +2189,7 @@ impl Workspace {
fn render_disconnected_overlay(&self, cx: &mut RenderContext<Workspace>) -> Option<ElementBox> {
if self.project.read(cx).is_read_only() {
enum DisconnectedOverlay {};
enum DisconnectedOverlay {}
Some(
MouseEventHandler::new::<DisconnectedOverlay, _, _>(0, cx, |_, cx| {
let theme = &cx.global::<Settings>().theme;