remov set

pull/88/head
Takayuki Maeda 3 years ago
parent 08cd86b84c
commit ec873657fd

@ -26,13 +26,6 @@ impl DebugComponent {
}
}
impl DebugComponent {
pub fn set(&mut self, error: String) -> anyhow::Result<()> {
self.msg = error;
self.show()
}
}
impl DrawableComponent for DebugComponent {
fn draw<B: Backend>(&mut self, f: &mut Frame<B>, _area: Rect, _focused: bool) -> Result<()> {
if true {

Loading…
Cancel
Save