You've already forked AstralRinth
forked from didirus/AstralRinth
Bring back the old nav (#100)
* Bring back the old nav * Added bool to settings * settings wireup * Fixy fix * fix create btn --------- Co-authored-by: thesuzerain <wverchere@gmail.com> Co-authored-by: Jai A <jaiagr+gpg@pm.me>
This commit is contained in:
@@ -361,7 +361,6 @@ pub async fn infer_data_from_files(
|
||||
update_version: update_versions
|
||||
.get(&hash)
|
||||
.map(|val| Box::new(val.clone())),
|
||||
|
||||
incompatible: !version.loaders.contains(
|
||||
&profile
|
||||
.metadata
|
||||
|
||||
@@ -24,6 +24,7 @@ pub struct Settings {
|
||||
pub hooks: Hooks,
|
||||
pub max_concurrent_downloads: usize,
|
||||
pub version: u32,
|
||||
pub collapsed_navigation: bool,
|
||||
}
|
||||
|
||||
impl Default for Settings {
|
||||
@@ -39,6 +40,7 @@ impl Default for Settings {
|
||||
hooks: Hooks::default(),
|
||||
max_concurrent_downloads: 64,
|
||||
version: CURRENT_FORMAT_VERSION,
|
||||
collapsed_navigation: false,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user