Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Move string to variable

Joseph Lyonsa9c2f42f70c3
diff --git a/crates/feedback/src/feedback_editor.rs b/crates/feedback/src/feedback_editor.rs
index f950e6edd40..ae8ccc91512 100644
--- a/crates/feedback/src/feedback_editor.rs
+++ b/crates/feedback/src/feedback_editor.rs
@@ -533,9 +533,10 @@ impl View for FeedbackInfoText {
fn render(&mut self, cx: &mut RenderContext<Self>) -> ElementBox {
let theme = cx.global::<Settings>().theme.clone();
+ let text = "We read whatever you submit here. For issues and discussions, visit the community repo on GitHub.";
Label::new(
- "We read whatever you submit here. For issues and discussions, visit the community repo on GitHub.".to_string(),
theme.workspace.titlebar.outdated_warning.text.clone(),
+ text.to_string(),
)
.contained()
.with_style(theme.workspace.titlebar.outdated_warning.container)