fix: actually pass force through from loadVisible to loadRange
loadVisible(force = true) (used by the error-banner retry button) was still funneling into loadRange with an implicit force = false, so the isCached short-circuit was never actually bypassed on retry.
This commit is contained in:
@@ -214,7 +214,7 @@ class CalendarViewModel @Inject constructor(
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
viewModelScope.launch {
|
viewModelScope.launch {
|
||||||
loadRange(start, end, background = false)
|
loadRange(start, end, background = false, force = force)
|
||||||
markReady()
|
markReady()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user