refactor: clarify content and tui ownership

This commit is contained in:
objz committed 2026-07-27 11:03:46 +02:00
1 parent 078afe4b9d
commit 15d76c18a0
32 files changed
+893 -1144

No files matched your search

@@ -1,8 +1,8 @@
// rendering for the modpack import wizard. same pattern as new_instance:
// snapshot the state, pick the right step renderer, done.
use super::super::LoadState;
use super::super::base::PopupFrame;
use super::super::new_instance::LoadState;
use super::state::{IMPORT_STATE, ImportStep, ImportWizardState};
use crate::config::theme::THEME;
use crate::tui::app::FocusedArea;
@@ -3,7 +3,7 @@
// (.mrpack, mmc/prism zips). remote packs go through version selection,
// local files skip straight to the confirm step.
use super::super::new_instance::LoadState;
use super::super::LoadState;
use crate::instance::import::{ImportInput, ImportSummary, parse_import_input};
use crate::net::modrinth::{self, VersionInfo};
use crate::tui::widgets::instances;