Skip to content

Commit 5ffb472

Browse files
committed
Don't insert default fields when upgrading old configs
This is already handled when adding all default values To the loaded config once the actual upgrading is done Signed-off-by: Lilly Rose Berner <lilly@lostluma.net>
1 parent 492244b commit 5ffb472

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

platforms/common/src/main/java/dynamic_fps/impl/config/Serialization.java

-2
Original file line numberDiff line numberDiff line change
@@ -220,9 +220,7 @@ private static void upgradeIdleConfig(JsonObject root) {
220220
}
221221

222222
JsonObject idle = new JsonObject();
223-
224223
idle.addProperty("timeout", timeout);
225-
idle.addProperty("condition", "none");
226224

227225
root.add("idle", idle);
228226
}

0 commit comments

Comments
 (0)