Skip to content

Commit f539395

Browse files
committed
wip
1 parent 6460f01 commit f539395

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/src/main/java/com/hoc/pagination_mvi/ui/main/MainInteractorImpl.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class MainInteractorImpl @Inject constructor(
2626
.let { MainContract.PartialStateChange.PhotoNextPage.Data(it) }
2727
.let { send(it) }
2828
} catch (e: Exception) {
29-
delay(1_000)
29+
delay(500)
3030
send(MainContract.PartialStateChange.PhotoNextPage.Error(e))
3131
}
3232
}
@@ -41,6 +41,7 @@ class MainInteractorImpl @Inject constructor(
4141
.let { MainContract.PartialStateChange.PhotoFirstPage.Data(it) }
4242
.let { send(it) }
4343
} catch (e: Exception) {
44+
delay(500)
4445
send(MainContract.PartialStateChange.PhotoFirstPage.Error(e))
4546
}
4647
}

0 commit comments

Comments
 (0)