File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
app/src/main/java/com/nutomic/syncthingandroid Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -262,6 +262,9 @@ public void onCreate(Bundle savedInstanceState) {
262
262
}
263
263
}
264
264
265
+ Log .d (TAG , "minDiskFree: unit= " + mFolder .minDiskFree .uni );
266
+ Log .d (TAG , "minDiskFree: value= " + mFolder .minDiskFree .val );
267
+
265
268
if (mIsCreateMode ) {
266
269
mEditIgnoreListTitle .setEnabled (false );
267
270
mEditIgnoreListContent .setEnabled (false );
Original file line number Diff line number Diff line change 2
2
3
3
import android .text .TextUtils ;
4
4
5
+ import com .google .gson .annotations .SerializedName ;
6
+
5
7
import com .nutomic .syncthingandroid .service .Constants ;
6
8
7
9
import java .io .Serializable ;
@@ -51,8 +53,11 @@ public static class Versioning implements Serializable {
51
53
}
52
54
53
55
public static class MinDiskFree {
54
- public float value ;
55
- public String unit ;
56
+ @ SerializedName ("value" )
57
+ public Number val ;
58
+
59
+ @ SerializedName ("unit" )
60
+ public String uni ;
56
61
}
57
62
58
63
public void addDevice (final Device device ) {
You can’t perform that action at this time.
0 commit comments