Shuffle share/unshare button back to the right side
This commit is contained in:
parent
05e9615507
commit
3105ecd0bd
1 changed files with 5 additions and 2 deletions
|
@ -84,9 +84,7 @@ impl View for CollabTitlebarItem {
|
||||||
);
|
);
|
||||||
|
|
||||||
if let Some(room) = ActiveCall::global(cx).read(cx).room().cloned() {
|
if let Some(room) = ActiveCall::global(cx).read(cx).room().cloned() {
|
||||||
left_container.add_child(self.render_share_unshare_button(&workspace, &theme, cx));
|
|
||||||
left_container.add_child(self.render_toggle_collaborator_list_button(&theme, cx));
|
left_container.add_child(self.render_toggle_collaborator_list_button(&theme, cx));
|
||||||
|
|
||||||
left_container.add_child(self.render_current_user(&workspace, &theme, &user, cx));
|
left_container.add_child(self.render_current_user(&workspace, &theme, &user, cx));
|
||||||
left_container.add_children(self.render_collaborators(&workspace, &theme, room, cx));
|
left_container.add_children(self.render_collaborators(&workspace, &theme, room, cx));
|
||||||
}
|
}
|
||||||
|
@ -104,6 +102,11 @@ impl View for CollabTitlebarItem {
|
||||||
right_container.add_child(self.render_toggle_contacts_button(&theme, cx));
|
right_container.add_child(self.render_toggle_contacts_button(&theme, cx));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ActiveCall::global(cx).read(cx).room().is_some() {
|
||||||
|
right_container.add_child(self.render_share_unshare_button(&workspace, &theme, cx));
|
||||||
|
}
|
||||||
|
|
||||||
right_container.add_children(self.render_connection_status(&workspace, cx));
|
right_container.add_children(self.render_connection_status(&workspace, cx));
|
||||||
|
|
||||||
if let Some(user) = user {
|
if let Some(user) = user {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue