diff --git a/src/file_dialog/create_directory_dialog.rs b/src/create_directory_dialog.rs similarity index 100% rename from src/file_dialog/create_directory_dialog.rs rename to src/create_directory_dialog.rs diff --git a/src/file_dialog/mod.rs b/src/file_dialog.rs similarity index 99% rename from src/file_dialog/mod.rs rename to src/file_dialog.rs index 23041877..af273f1e 100644 --- a/src/file_dialog/mod.rs +++ b/src/file_dialog.rs @@ -3,8 +3,7 @@ use std::{fs, io}; use directories::UserDirs; -mod create_directory_dialog; -use create_directory_dialog::CreateDirectoryDialog; +use crate::create_directory_dialog::CreateDirectoryDialog; use crate::data::{DirectoryContent, DirectoryEntry, Disks}; use crate::ui; diff --git a/src/lib.rs b/src/lib.rs index a293c9dd..050b3ab3 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,5 +1,6 @@ mod file_dialog; pub use file_dialog::{DialogMode, DialogState, FileDialog}; +mod create_directory_dialog; mod data; mod ui;