diff --git a/.github/readme_assets/control_panel.png b/.github/readme_assets/control_panel.png index e942aa7..06a355e 100644 Binary files a/.github/readme_assets/control_panel.png and b/.github/readme_assets/control_panel.png differ diff --git a/.github/readme_assets/map_config.png b/.github/readme_assets/map_config.png index 1f6f225..b21be22 100644 Binary files a/.github/readme_assets/map_config.png and b/.github/readme_assets/map_config.png differ diff --git a/lib/project_view/sidebar/sidebar.dart b/lib/project_view/sidebar/sidebar.dart index 8e44fe7..664650d 100644 --- a/lib/project_view/sidebar/sidebar.dart +++ b/lib/project_view/sidebar/sidebar.dart @@ -27,7 +27,6 @@ class Sidebar extends ConsumerStatefulWidget { class _ConfigTreeState extends ConsumerState { final List configs = []; - final List storages = []; final List maps = []; final List> subscriptions = []; @@ -44,13 +43,6 @@ class _ConfigTreeState extends ConsumerState { } if (entity is Directory) { - if (p.basename(entity.path) == "storages") { - for (final FileSystemEntity storage in entity.listSync()) { - if (storage is File) { - storages.add(storage); - } - } - } if (p.basename(entity.path) == "maps") { for (final FileSystemEntity map in entity.listSync()) { if (map is File) { @@ -113,7 +105,6 @@ class _ConfigTreeState extends ConsumerState { //sort all lists alphabetically configs.sort((a, b) => a.path.compareTo(b.path)); - storages.sort((a, b) => a.path.compareTo(b.path)); sortMaps(); } @@ -183,8 +174,6 @@ class _ConfigTreeState extends ConsumerState { const _ControlPanelTile(), const Text(" Configs"), for (final File config in configs) ConfigTile(config), - const Text(" Storages"), - for (final File storage in storages) ConfigTile(storage), const Text(" Maps"), for (final File map in maps) MapTile(map), const NewMapButton(),