therajanmaurya closed pull request #20: fix: visibilty issue in ledger
URL: https://github.com/apache/fineract-cn-mobile/pull/20
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git 
a/app/src/main/java/org/apache/fineract/ui/online/accounting/ledgers/LedgerPresenter.kt
 
b/app/src/main/java/org/apache/fineract/ui/online/accounting/ledgers/LedgerPresenter.kt
index 5086b40..3b9e5a4 100644
--- 
a/app/src/main/java/org/apache/fineract/ui/online/accounting/ledgers/LedgerPresenter.kt
+++ 
b/app/src/main/java/org/apache/fineract/ui/online/accounting/ledgers/LedgerPresenter.kt
@@ -39,9 +39,9 @@ class LedgerPresenter @Inject constructor(@ApplicationContext 
context: Context,
                         if (ledgerPage.ledgers != null) {
 
                             if (ledgerPage.ledgers.isEmpty()) {
-                                mvpView.showLedgers(ledgerPage.ledgers)
-                            } else {
                                 mvpView.showEmptyLedgers()
+                            } else {
+                                mvpView.showLedgers(ledgerPage.ledgers)
                             }
                         }
 


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to