mirror of
https://gitcode.com/gh_mirrors/re/react-native-pushy.git
synced 2025-10-07 19:05:13 +08:00
Add a delay after download
This commit is contained in:
@@ -179,6 +179,7 @@ export async function downloadUpdate(options, eventListeners) {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
progressHandler && progressHandler.remove();
|
progressHandler && progressHandler.remove();
|
||||||
|
await new Promise((resolve) => setTimeout(resolve, 100));
|
||||||
return options.hash;
|
return options.hash;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user