mirror of
https://github.com/modrinth/code.git
synced 2026-09-03 13:36:48 +00:00
fix: ux changes for sync settings/overrides
This commit is contained in:
@@ -839,8 +839,14 @@ pub async fn instance_get_global_synced_options()
|
||||
pub async fn instance_set_global_synced_option(
|
||||
option: InstanceSyncedOption,
|
||||
enabled: bool,
|
||||
base_instance_id: Option<String>,
|
||||
) -> Result<theseus::instance::GlobalSyncedOptions> {
|
||||
Ok(theseus::instance::set_global_synced_option(option, enabled).await?)
|
||||
Ok(theseus::instance::set_global_synced_option(
|
||||
option,
|
||||
enabled,
|
||||
base_instance_id.as_deref(),
|
||||
)
|
||||
.await?)
|
||||
}
|
||||
|
||||
#[tauri::command]
|
||||
|
||||
Reference in New Issue
Block a user