1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-23 04:41:16 +00:00

Fixed folder versioning

This commit is contained in:
Felix Ableitner 2016-10-31 03:18:11 +09:00
parent 337dc146a9
commit a263b0c8e2

View file

@ -128,6 +128,7 @@ public class FolderFragment extends Fragment
mFolder.versioning = new Folder.Versioning(); mFolder.versioning = new Folder.Versioning();
mVersioningKeepView.setText(R.string.off); mVersioningKeepView.setText(R.string.off);
} else { } else {
mFolder.versioning.type = "simple";
mFolder.versioning.params.put("keep", valueOf(intValue)); mFolder.versioning.params.put("keep", valueOf(intValue));
mVersioningKeepView.setText(valueOf(intValue)); mVersioningKeepView.setText(valueOf(intValue));
} }