diff --git a/app/src/main/java/org/ntlab/acanthus_client/views/paint/PaintViewModel.java b/app/src/main/java/org/ntlab/acanthus_client/views/paint/PaintViewModel.java index 2947804..ca574e7 100644 --- a/app/src/main/java/org/ntlab/acanthus_client/views/paint/PaintViewModel.java +++ b/app/src/main/java/org/ntlab/acanthus_client/views/paint/PaintViewModel.java @@ -45,10 +45,6 @@ return this.mStrokes; } - public LiveData getStrokeNo() { - return this.mStrokeNo; - } - public LiveData getPageNo() { return this.mCurPageNo; } @@ -65,6 +61,7 @@ paintModelContainer.getPaintConnectionModel().init(acanthus); paintModelContainer.getInvitesConnectionModel().init(acanthus); + mStrokeNo.setValue(0); mStrokes.setValue(new ArrayList<>()); mStrokes.getValue().add(new Stroke());