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:
parent
98b54763b9
commit
6a3a3a1124
2 changed files with 55 additions and 27 deletions
|
@ -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);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue