[fix]
[正在刷新直接返回成功]
This commit is contained in:
yangyakun
2024-10-25 14:27:23 +08:00
parent ca44fc3724
commit f3910a1e56

View File

@@ -108,6 +108,11 @@ object LineModel {
*/
private fun queryCarExecutableTaskList(isBackground:Boolean) {
if(isRequesting.get()){
CallerLogger.d(TAG,"正在同步请稍等")
val lastUpdateTime = SharedPrefsMgr.getInstance().getLong(EXECUTABLECHANGETIME, 0)
mBusLinesCallbackMap.forEach { callback ->
callback.value.onRefreshSuccess(lastUpdateTime)
}
return
}
isRequesting.set(true)