Add tooltip to the toggle public button in the contacts panel
Co-authored-by: Antonio Scandurra <me@as-cii.com>
This commit is contained in:
co-authored by
Antonio Scandurra
parent
98b54763b9
commit
6a3a3a1124
@@ -1056,7 +1056,6 @@ impl Workspace {
|
||||
.unwrap_or_else(|| self.project.clone());
|
||||
project.update(cx, |project, cx| {
|
||||
let public = !project.is_public();
|
||||
eprintln!("toggle_project_public => {}", public);
|
||||
project.set_public(public, cx);
|
||||
project.project_store().update(cx, |store, cx| {
|
||||
store
|
||||
@@ -2467,7 +2466,6 @@ pub fn open_paths(
|
||||
.unwrap_or(false);
|
||||
if public {
|
||||
project.update(&mut cx, |project, cx| {
|
||||
eprintln!("initialize new project public");
|
||||
project.set_public(true, cx);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user