diff --git a/app/src/main/java/org/ntlab/irisclient/viewmodels/DrawingStateViewModel.java b/app/src/main/java/org/ntlab/irisclient/viewmodels/DrawingStateViewModel.java index 4a4b954..fd2b837 100644 --- a/app/src/main/java/org/ntlab/irisclient/viewmodels/DrawingStateViewModel.java +++ b/app/src/main/java/org/ntlab/irisclient/viewmodels/DrawingStateViewModel.java @@ -80,7 +80,7 @@ public void onResponse(Call call, Response response) { if (response.isSuccessful()){ - if(response.body().equals(drawingStatePreData)){ + if(response.body().equals(dnoPreData)){ //値が一緒なら書き換えない }else{ //値が異なるときのみライブデータを上書き