mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Fix cuteness application
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import application = require("application");
|
||||
|
||||
// Set the start module for the application
|
||||
application.mainModule = "app/main-page";
|
||||
application.mainModule = "/main-page";
|
||||
|
||||
// Start the application
|
||||
application.start();
|
||||
|
||||
@@ -23,7 +23,7 @@ export function pageLoaded(args: observable.EventData) {
|
||||
export function listViewItemTap(args: listView.ItemEventData) {
|
||||
// Navigate to the details page with context set to the data item for specified index
|
||||
frames.topmost().navigate({
|
||||
moduleName: "app/details-page",
|
||||
moduleName: "./details-page",
|
||||
context: appViewModel.redditItems.getItem(args.index)
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user