Show notification when a new project is shared and allow joining it
This commit is contained in:
@@ -30,6 +30,7 @@ pub struct Theme {
|
||||
pub breadcrumbs: ContainedText,
|
||||
pub contact_notification: ContactNotification,
|
||||
pub update_notification: UpdateNotification,
|
||||
pub project_shared_notification: ProjectSharedNotification,
|
||||
pub tooltip: TooltipStyle,
|
||||
pub terminal: TerminalStyle,
|
||||
}
|
||||
@@ -481,6 +482,14 @@ pub struct UpdateNotification {
|
||||
pub dismiss_button: Interactive<IconButton>,
|
||||
}
|
||||
|
||||
#[derive(Deserialize, Default)]
|
||||
pub struct ProjectSharedNotification {
|
||||
pub owner_avatar: ImageStyle,
|
||||
pub message: ContainedText,
|
||||
pub join_button: ContainedText,
|
||||
pub dismiss_button: ContainedText,
|
||||
}
|
||||
|
||||
#[derive(Clone, Deserialize, Default)]
|
||||
pub struct Editor {
|
||||
pub text_color: Color,
|
||||
|
||||
Reference in New Issue
Block a user