Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed #2442 :When Recent Transactions is opened without connection of internet… #2444

Closed
wants to merge 7 commits into from
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ class RecentTransactionsFragment : BaseFragment(), OnRefreshListener {

RecentTransactionUiState.Initial -> {}
}

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is the 1st blank space

}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ class RecentTransactionViewModel @Inject constructor(private val recentTransacti

private fun loadRecentTransactions(offset: Int, limit: Int) {
viewModelScope.launch {

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is the 2nd blank space

_recentTransactionUiState.value = RecentTransactionUiState.Loading
recentTransactionRepositoryImp.recentTransactions(offset, limit).catch {
_recentTransactionUiState.value =
Expand Down
Loading