(context: Arc<AppContext>, session_id: String)
| 151 | |
| 152 | impl Sidebar { |
| 153 | pub fn new(context: Arc<AppContext>, session_id: String) -> Self { |
| 154 | Self { |
| 155 | context, |
| 156 | session_id, |
| 157 | } |
| 158 | } |
| 159 | |
| 160 | pub fn render(&self, frame: &mut Frame, area: Rect, state: &mut SidebarState, floating: bool) { |
| 161 | if area.width == 0 || area.height == 0 { |
nothing calls this directly
no outgoing calls
no test coverage detected