Added user notifications
This commit is contained in:
parent
ffcad4e4e2
commit
a1f273278b
7 changed files with 375 additions and 68 deletions
|
@ -7,7 +7,7 @@ use gpui::{
|
|||
use menu::Cancel;
|
||||
use settings::Settings;
|
||||
use util::channel::ReleaseChannel;
|
||||
use workspace::Notification;
|
||||
use workspace::notifications::Notification;
|
||||
|
||||
pub struct UpdateNotification {
|
||||
version: AppVersion,
|
||||
|
@ -28,7 +28,7 @@ impl View for UpdateNotification {
|
|||
|
||||
fn render(&mut self, cx: &mut gpui::RenderContext<'_, Self>) -> gpui::ElementBox {
|
||||
let theme = cx.global::<Settings>().theme.clone();
|
||||
let theme = &theme.update_notification;
|
||||
let theme = &theme.simple_message_notification;
|
||||
|
||||
let app_name = cx.global::<ReleaseChannel>().display_name();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue