diff --git a/app/src/main/java/org/ntlab/acanthus_client/views/paint/models/PageOperationModel.java b/app/src/main/java/org/ntlab/acanthus_client/views/paint/models/PageOperationModel.java index d99f279..f47118a 100644 --- a/app/src/main/java/org/ntlab/acanthus_client/views/paint/models/PageOperationModel.java +++ b/app/src/main/java/org/ntlab/acanthus_client/views/paint/models/PageOperationModel.java @@ -65,7 +65,8 @@ public void incrementPageNo(MutableLiveData mPageNo, Integer pageSize) { Integer editingNo = acanthus.getEditingPageNo(); - if (editingNo < pageSize) { + if (editingNo <= pageSize) { + if(999 < pageSize) return; acanthus.setEditingPageNo(editingNo + 1); mPageNo.setValue(acanthus.getEditingPageNo()); }