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:
Justin Gao
2026-05-29 10:22:44 +08:00
parent bf0b7bcaaf
commit bf30aa3efe
+2
View File
@@ -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);