If find command doesn't return any result show an info dialog and not an empty explorer

This commit is contained in:
veeso
2022-01-06 10:44:34 +01:00
committed by Christian Visintin
parent 88b29d3183
commit cb583f305c
3 changed files with 16 additions and 0 deletions
+9
View File
@@ -400,6 +400,15 @@ impl FileTransferActivity {
// -- partials
/// ### mount_info
///
/// Mount info box
pub(super) fn mount_info(&mut self, text: &str) {
// Mount
let info_color = self.theme().misc_info_dialog;
self.mount_text_dialog(super::COMPONENT_TEXT_ERROR, text, info_color);
}
/// ### mount_error
///
/// Mount error box