Переглянути джерело

ignore lastWrittenByVersion when reading settings

Armin Schrenk 2 роки тому
батько
коміт
d246b54268

+ 1 - 0
src/main/java/org/cryptomator/common/settings/SettingsJsonAdapter.java

@@ -109,6 +109,7 @@ public class SettingsJsonAdapter extends TypeAdapter<Settings> {
 						settings.mountService().set(in.nextString());
 					}
 				}
+				case "lastWrittenByVersion" -> in.skipValue(); //noop
 				//1.6.x legacy
 				case "preferredVolumeImpl" -> volumeImpl = in.nextString();
 				//legacy end