Skip to content

Commit

Permalink
refactor : RefreshViewModel 개선
Browse files Browse the repository at this point in the history
  • Loading branch information
chws0508 committed Mar 4, 2024
1 parent d6b2ac0 commit ac1694e
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ abstract class RefreshableViewModel : NetworkViewModel() {
onNetworkError: suspend () -> Unit = { dispatchNetworkErrorEvent() },
onStart: suspend () -> Unit = {},
onFinish: suspend () -> Unit = {},
refresh: suspend () -> Job = { this@RefreshableViewModel.refresh() },
): Job = requestNetwork(
request = { command() },
onSuccess = { onSuccess(it) },
Expand Down

0 comments on commit ac1694e

Please sign in to comment.