some bs
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
use gpui::{div, prelude::*};
|
||||
|
||||
use crate::app;
|
||||
use crate::{api, app};
|
||||
use crate::query;
|
||||
use crate::dashboard;
|
||||
use crate::theme;
|
||||
@@ -9,7 +9,7 @@ use crate::titlebar;
|
||||
pub struct Global {
|
||||
pub safe_area: gpui::Bounds<gpui::Pixels>,
|
||||
pub current_theme: theme::Theme,
|
||||
pub query_store: query::Store
|
||||
pub query_store: query::Store<api::QueryContext>
|
||||
}
|
||||
|
||||
pub struct Chrome {}
|
||||
@@ -53,6 +53,6 @@ pub fn current_theme<'a, E>(cx: &'a gpui::Context<E>) -> &'a theme::Theme {
|
||||
&cx.global::<Global>().current_theme
|
||||
}
|
||||
|
||||
pub fn query_store<'a, E>(cx: &'a gpui::Context<E>) -> &'a query::Store {
|
||||
pub fn query_store<'a, E>(cx: &'a gpui::Context<E>) -> &'a query::Store<api::QueryContext> {
|
||||
&cx.global::<Global>().query_store
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user