feat(discovery): select Minecraft version for modpacks
This commit is contained in:
1 parent
cccf65981a
commit
de6defa1ff
8 files changed
+197
-41
No files matched your search
@@ -277,6 +277,12 @@ impl App {
|
||||
return Ok(());
|
||||
}
|
||||
if popup_open && key_event.code == KeyCode::Enter {
|
||||
if self
|
||||
.active_discovery_state_mut()
|
||||
.is_some_and(|state| state.select_minecraft_version())
|
||||
{
|
||||
return Ok(());
|
||||
}
|
||||
let confirming = self
|
||||
.active_discovery_state_mut()
|
||||
.and_then(|state| state.version_popup.as_ref())
|
||||
|
||||
Reference in new issue
Block a user