Skip to content

Commit

Permalink
feat:wrt openMF#1122 adds offline support in home fragment
Browse files Browse the repository at this point in the history
  • Loading branch information
PratyushSingh07 committed Mar 9, 2023
1 parent ac56bb9 commit d45fe5d
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,11 @@ class HomeOldFragment : BaseFragment(), HomeOldView, OnRefreshListener {
}
setToolbarTitle(getString(R.string.home))
showUserInterface()
if(!Network.isConnected(activity)){
showUserDetails(client)
showLoanAccountDetails(totalLoanAmount)
showSavingAccountDetails(totalSavingAmount)
}
return rootView
}

Expand Down

0 comments on commit d45fe5d

Please sign in to comment.