mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Fix the master-detail template app
This commit is contained in:
@@ -16,8 +16,8 @@ export function pageLoaded(args: observable.EventData) {
|
||||
export function listViewItemTap(args: listView.ItemEventData) {
|
||||
// Navigate to the details page with context set to the current data item
|
||||
if (!twoPaneLayout) {
|
||||
frames.topmost().navigate("app/details-page");
|
||||
frames.topmost().navigate("details-page");
|
||||
}
|
||||
|
||||
vmModule.mainViewModel.set("selectedItem", args.view.bindingContext);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user