Skip to content

Commit

Permalink
Changed delay to 5 seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
himalia416 committed Jun 7, 2024
1 parent b77d93b commit 1a4af76
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ internal class WifiScannerViewModel @Inject constructor(
_viewState.value = _viewState.value.copy(networks = scanResults)
}.launchIn(viewModelScope)
viewModelScope.launch {
delay(2.seconds)
delay(5.seconds)
_viewState.value = _viewState.value.copy(isRefreshing = false)
}
} catch (e: Exception) {
Expand Down

0 comments on commit 1a4af76

Please sign in to comment.