mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-15 11:01:21 +08:00
Close current modal page on livesync
This commit is contained in:
@ -39,6 +39,10 @@ function buildEntryFromArgs(arg: any): definition.NavigationEntry {
|
||||
export function reloadPage(): void {
|
||||
let frame = topmost();
|
||||
if (frame) {
|
||||
if (frame.currentPage && (<any>frame.currentPage)._modal) {
|
||||
(<any>frame.currentPage)._modal.closeModal();
|
||||
}
|
||||
|
||||
let currentEntry = frame._currentEntry.entry;
|
||||
let newEntry: definition.NavigationEntry = {
|
||||
animated: false,
|
||||
|
Reference in New Issue
Block a user