Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
Catfriend1 committed Jan 25, 2019
1 parent d955d9c commit 3b9fc96
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,9 @@ public void onCreate(Bundle savedInstanceState) {
}
}

Log.d(TAG, "minDiskFree: unit= " + mFolder.minDiskFree.uni);
Log.d(TAG, "minDiskFree: value= " + mFolder.minDiskFree.val);

if (mIsCreateMode) {
mEditIgnoreListTitle.setEnabled(false);
mEditIgnoreListContent.setEnabled(false);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

import android.text.TextUtils;

import com.google.gson.annotations.SerializedName;

import com.nutomic.syncthingandroid.service.Constants;

import java.io.Serializable;
Expand Down Expand Up @@ -51,8 +53,11 @@ public static class Versioning implements Serializable {
}

public static class MinDiskFree {
public float value;
public String unit;
@SerializedName("value")
public Number val;

@SerializedName("unit")
public String uni;
}

public void addDevice(final Device device) {
Expand Down

0 comments on commit 3b9fc96

Please sign in to comment.