Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve JsonRPC plugin settings #2430

Merged
merged 8 commits into from
Nov 21, 2023
2 changes: 1 addition & 1 deletion Flow.Launcher.Core/Plugin/JsonRPCPluginSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ public void UpdateSettings(IReadOnlyDictionary<string, object> settings)
break;
}
}
Save();
}
Save();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry another thoughts that why didn't we keep this consistent with other plugins. Save only be called when manually triggered or flow being closed?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess just personal preference. It feels off to not save to file on change.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah ok

}

public async Task SaveAsync()
Expand Down
Loading