Report errors as alerts

This commit is contained in:
ChristianVisintin
2020-12-05 19:36:33 +01:00
parent d73d56576c
commit 7e5e5d2df2
3 changed files with 234 additions and 80 deletions

View File

@@ -332,6 +332,10 @@ impl FileTransferActivity {
LogLevel::Error,
format!("Could not get current remote path: {}", err).as_ref(),
);
self.input_mode = InputMode::Popup(PopupType::Alert(
Color::Red,
format!("Could not get current remote path: {}", err),
));
return;
}
};