fix lint
This commit is contained in:
parent
547ec730c7
commit
b7f514c6cc
@ -364,13 +364,13 @@ pub async fn profile_edit(path: &str, edit_profile: EditProfile) -> Result<()> {
|
|||||||
if let Some(java_path) = edit_profile.java_path.clone() {
|
if let Some(java_path) = edit_profile.java_path.clone() {
|
||||||
prof.java_path = java_path;
|
prof.java_path = java_path;
|
||||||
}
|
}
|
||||||
if let Some(memory) = edit_profile.memory.clone() {
|
if let Some(memory) = edit_profile.memory {
|
||||||
prof.memory = memory;
|
prof.memory = memory;
|
||||||
}
|
}
|
||||||
if let Some(game_resolution) = edit_profile.game_resolution.clone() {
|
if let Some(game_resolution) = edit_profile.game_resolution {
|
||||||
prof.game_resolution = game_resolution;
|
prof.game_resolution = game_resolution;
|
||||||
}
|
}
|
||||||
if let Some(force_fullscreen) = edit_profile.force_fullscreen.clone() {
|
if let Some(force_fullscreen) = edit_profile.force_fullscreen {
|
||||||
prof.force_fullscreen = force_fullscreen;
|
prof.force_fullscreen = force_fullscreen;
|
||||||
}
|
}
|
||||||
if let Some(hooks) = edit_profile.hooks.clone() {
|
if let Some(hooks) = edit_profile.hooks.clone() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user