mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-12-23 11:21:29 +00:00
Dont crash when setting versioning (fixes #798)
This commit is contained in:
parent
92acc09876
commit
46044258a6
1 changed files with 2 additions and 1 deletions
|
@ -2,6 +2,7 @@ package com.nutomic.syncthingandroid.model;
|
|||
|
||||
import java.io.Serializable;
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
@ -33,7 +34,7 @@ public class Folder {
|
|||
|
||||
public static class Versioning implements Serializable {
|
||||
public String type;
|
||||
public Map<String, String> params;
|
||||
public Map<String, String> params = new HashMap<>();
|
||||
}
|
||||
|
||||
public void addDevice(String deviceId) {
|
||||
|
|
Loading…
Reference in a new issue