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

When exporting rules, only export the types of rules that were actual… #1401

Merged
merged 2 commits into from
Nov 2, 2024

Conversation

Fry-kun
Copy link
Contributor

@Fry-kun Fry-kun commented Nov 1, 2024

…ly enabled

Should fix #1399

@@ -2332,7 +2332,10 @@ public static void exportAllPreferencesToFileConfirm(final Context ctx) {
}
}

private static void updateExportPackage(Map<String, JSONObject> exportMap, String packageName, int identifier) throws JSONException {
private static void updateExportPackage(Map<String, JSONObject> exportMap, String packageName, boolean isCheckded, int identifier) throws JSONException {
if (!isCheckded) {
Copy link
Owner

Choose a reason for hiding this comment

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

Please fix spell mistake. (checked)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@ukanth ukanth merged commit a1fe38b into ukanth:beta Nov 2, 2024
1 check passed
@Fry-kun Fry-kun deleted the export-fix branch November 7, 2024 00:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[ISSUE] Exported rules are wrong
2 participants