From ecb6faa089271be48325eb7371a3a01a17683ba4 Mon Sep 17 00:00:00 2001 From: Clement Tsang <34804052+ClementTsang@users.noreply.github.com> Date: Mon, 1 Jan 2024 10:19:52 +0000 Subject: refactor: restructure canvas file folder structure (#1368) * refactor: group together some canvas files * rename file * more shuffling around * fmt * more shuffling Going to flatten widgets in another PR. * some docs * naming * fmt --- tests/layout_management_tests.rs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'tests') diff --git a/tests/layout_management_tests.rs b/tests/layout_management_tests.rs index 811c7315..2d4b617b 100644 --- a/tests/layout_management_tests.rs +++ b/tests/layout_management_tests.rs @@ -1,11 +1,13 @@ //! Mocks layout management, so we can check if we broke anything. -use bottom::app::layout_manager::{BottomLayout, BottomWidgetType}; #[cfg(feature = "battery")] use bottom::constants::DEFAULT_BATTERY_LAYOUT; -use bottom::constants::{DEFAULT_LAYOUT, DEFAULT_WIDGET_ID}; -use bottom::options::{layout_options::Row, Config}; -use bottom::utils::error; +use bottom::{ + app::layout_manager::{BottomLayout, BottomWidgetType}, + constants::{DEFAULT_LAYOUT, DEFAULT_WIDGET_ID}, + options::{layout_options::Row, Config}, + utils::error, +}; use toml_edit::de::from_str; // TODO: Could move these into the library files rather than external tbh. -- cgit v1.2.3