mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
fix(hmr): quick fade upon replace navigation (#7251)
This commit is contained in:
@@ -146,9 +146,5 @@ function _test_onLiveSync_ModuleContext_TypeStyle(context: { type, path }) {
|
||||
}
|
||||
|
||||
function waitUntilLivesyncComplete(frame: Frame) {
|
||||
if (isAndroid) {
|
||||
TKUnit.waitUntilReady(() => frame._executingEntry === null);
|
||||
} else {
|
||||
TKUnit.waitUntilReady(() => frame.currentPage.isLoaded);
|
||||
}
|
||||
TKUnit.waitUntilReady(() => frame._executingEntry === null);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user