Skip to content

Commit

Permalink
feat(sidebar): display call controls in the sidebar (#1429)
Browse files Browse the repository at this point in the history
  • Loading branch information
sdwoodbury authored Oct 27, 2023
1 parent 0cb1e79 commit d66e47f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ui/src/components/settings/sidebar.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ use kit::{
layout::sidebar::Sidebar as ReusableSidebar,
};

use crate::components::media::calling::CallControl;

#[derive(Copy, Clone, Eq, PartialEq)]
pub enum Page {
About,
Expand Down Expand Up @@ -205,6 +207,11 @@ pub fn Sidebar<'a>(cx: Scope<'a, Props<'a>>) -> Element<'a> {
}
}
)),
with_call_controls: cx.render(rsx!(
CallControl {
in_chat: false
}
)),
with_nav: cx.render(rsx!(
crate::AppNav {
active: crate::UplinkRoute::SettingsLayout{},
Expand Down

0 comments on commit d66e47f

Please sign in to comment.