Changed label and text to be generic over static strings and owned strings
This commit is contained in:
parent
ebf1da1de8
commit
b500ed3171
24 changed files with 60 additions and 72 deletions
|
@ -1958,7 +1958,7 @@ impl Workspace {
|
|||
MouseEventHandler::<DisconnectedOverlay>::new(0, cx, |_, cx| {
|
||||
let theme = &cx.global::<Settings>().theme;
|
||||
Label::new(
|
||||
"Your connection to the remote project has been lost.".to_string(),
|
||||
"Your connection to the remote project has been lost.",
|
||||
theme.workspace.disconnected_overlay.text.clone(),
|
||||
)
|
||||
.aligned()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue