fix: move render_whale_routes/render_classic out of ModalView trait impl
These two methods were accidentally placed inside the ModalView trait implementation block, which caused E0407 compilation errors on CI. They are now in a separate impl ModelPickerView block.
This commit is contained in:
@@ -383,7 +383,9 @@ impl ModalView for ModelPickerView {
|
||||
self.render_classic(area, buf);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl ModelPickerView {
|
||||
/// Single-column whale-route list for DeepSeek providers.
|
||||
fn render_whale_routes(&self, area: Rect, buf: &mut Buffer) {
|
||||
let popup_width = 62.min(area.width.saturating_sub(4)).max(44);
|
||||
|
||||
Reference in New Issue
Block a user