Skip to content

Commit

Permalink
Fix #957 Charges list not empty
Browse files Browse the repository at this point in the history
  • Loading branch information
nb2998 authored and therajanmaurya committed Jun 11, 2018
1 parent 88fdeb2 commit c5958be
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public void onError(Throwable e) {
@Override
public void onNext(Page<Charges> chargesPage) {
getMvpView().showProgressbar(false);
if (chargesPage.getTotalFilteredRecords() > 0) {
if (chargesPage.getPageItems().size() > 0) {
getMvpView().showChargesList(chargesPage);
} else {
getMvpView().showEmptyCharges();
Expand Down

0 comments on commit c5958be

Please sign in to comment.