Bladeren bron

ignore lastWrittenByVersion when reading settings

Armin Schrenk 2 jaren geleden
bovenliggende
commit
d246b54268
1 gewijzigde bestanden met toevoegingen van 1 en 0 verwijderingen
  1. 1 0
      src/main/java/org/cryptomator/common/settings/SettingsJsonAdapter.java

+ 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