diff --git a/src/gui/views/network.rs b/src/gui/views/network.rs index a2ef28c..f506d7c 100644 --- a/src/gui/views/network.rs +++ b/src/gui/views/network.rs @@ -17,6 +17,6 @@ mod metrics; mod mining; mod settings; mod node; -mod configs; +mod setup; pub use content::*; \ No newline at end of file diff --git a/src/gui/views/network/content.rs b/src/gui/views/network/content.rs index 5f75f41..d6fb801 100644 --- a/src/gui/views/network/content.rs +++ b/src/gui/views/network/content.rs @@ -22,11 +22,11 @@ use crate::gui::Colors; use crate::gui::icons::{CARDHOLDER, DATABASE, DOTS_THREE_OUTLINE_VERTICAL, FACTORY, FADERS, GAUGE, POWER}; use crate::gui::platform::PlatformCallbacks; use crate::gui::views::{Modal, ModalContainer, Root, TitlePanel, View}; -use crate::gui::views::network::configs::dandelion::DandelionSetup; -use crate::gui::views::network::configs::node::NodeSetup; -use crate::gui::views::network::configs::p2p::P2PSetup; -use crate::gui::views::network::configs::pool::PoolSetup; -use crate::gui::views::network::configs::stratum::StratumSetup; +use crate::gui::views::network::setup::dandelion::DandelionSetup; +use crate::gui::views::network::setup::node::NodeSetup; +use crate::gui::views::network::setup::p2p::P2PSetup; +use crate::gui::views::network::setup::pool::PoolSetup; +use crate::gui::views::network::setup::stratum::StratumSetup; use crate::gui::views::network::metrics::NetworkMetrics; use crate::gui::views::network::mining::NetworkMining; use crate::gui::views::network::node::NetworkNode; diff --git a/src/gui/views/network/mining.rs b/src/gui/views/network/mining.rs index 372ef48..0c3bbca 100644 --- a/src/gui/views/network/mining.rs +++ b/src/gui/views/network/mining.rs @@ -22,7 +22,7 @@ use crate::gui::icons::{BARBELL, CLOCK_AFTERNOON, CPU, CUBE, FADERS, FOLDER_DASH use crate::gui::platform::PlatformCallbacks; use crate::gui::views::{Modal, NetworkContent, View}; use crate::gui::views::network::{NetworkTab, NetworkTabType}; -use crate::gui::views::network::configs::stratum::StratumSetup; +use crate::gui::views::network::setup::stratum::StratumSetup; use crate::node::{Node, NodeConfig}; /// Mining tab content. diff --git a/src/gui/views/network/settings.rs b/src/gui/views/network/settings.rs index 52ee47f..cc72775 100644 --- a/src/gui/views/network/settings.rs +++ b/src/gui/views/network/settings.rs @@ -19,11 +19,11 @@ use crate::gui::icons::ARROW_COUNTER_CLOCKWISE; use crate::gui::platform::PlatformCallbacks; use crate::gui::views::{Modal, ModalPosition, View}; use crate::gui::views::network::{NetworkTab, NetworkTabType}; -use crate::gui::views::network::configs::dandelion::DandelionSetup; -use crate::gui::views::network::configs::node::NodeSetup; -use crate::gui::views::network::configs::p2p::P2PSetup; -use crate::gui::views::network::configs::pool::PoolSetup; -use crate::gui::views::network::configs::stratum::StratumSetup; +use crate::gui::views::network::setup::dandelion::DandelionSetup; +use crate::gui::views::network::setup::node::NodeSetup; +use crate::gui::views::network::setup::p2p::P2PSetup; +use crate::gui::views::network::setup::pool::PoolSetup; +use crate::gui::views::network::setup::stratum::StratumSetup; use crate::node::{Node, NodeConfig}; /// Integrated node settings tab content. diff --git a/src/gui/views/network/configs.rs b/src/gui/views/network/setup.rs similarity index 100% rename from src/gui/views/network/configs.rs rename to src/gui/views/network/setup.rs diff --git a/src/gui/views/network/configs/dandelion.rs b/src/gui/views/network/setup/dandelion.rs similarity index 100% rename from src/gui/views/network/configs/dandelion.rs rename to src/gui/views/network/setup/dandelion.rs diff --git a/src/gui/views/network/configs/node.rs b/src/gui/views/network/setup/node.rs similarity index 100% rename from src/gui/views/network/configs/node.rs rename to src/gui/views/network/setup/node.rs diff --git a/src/gui/views/network/configs/p2p.rs b/src/gui/views/network/setup/p2p.rs similarity index 100% rename from src/gui/views/network/configs/p2p.rs rename to src/gui/views/network/setup/p2p.rs diff --git a/src/gui/views/network/configs/pool.rs b/src/gui/views/network/setup/pool.rs similarity index 100% rename from src/gui/views/network/configs/pool.rs rename to src/gui/views/network/setup/pool.rs diff --git a/src/gui/views/network/configs/stratum.rs b/src/gui/views/network/setup/stratum.rs similarity index 100% rename from src/gui/views/network/configs/stratum.rs rename to src/gui/views/network/setup/stratum.rs