ToolIcon { iconId: "toolbar-back";
onClicked: {
myArticlesMenu.close();
-// if (flipper.articleShown) {
-// flipper.reload()
-// flipper.articleShown = false;
-// } else {
- window.feedReloadRequest();
- pageStack.pop();
-// }
+ window.feedReloadRequest();
+ pageStack.pop();
}
}
Page {
tools: articleTools
property string feedid: window.feedid
- property string mainArticleId: window.articleid
+
Articles {
+ id: articlePage
+ property string mainArticleId: window.articleid;
}
ToolBarLayout {
visible: false
ToolIcon { iconId: "toolbar-back";
onClicked: {
- myArticlesMenu.close();
window.articlesReloadRequest();
pageStack.pop();
}
}
-// ToolIcon {
-// platformIconId: "toolbar-previous"
-// visible: flipper.articleShown
-// //anchors.right: (parent === undefined) ? undefined : parent.right
-// onClicked: flipper.prev();
-// }
+ ToolIcon {
+ platformIconId: "toolbar-previous"
+ onClicked: articlePage.prev();
+ }
-// ToolIcon {
-// platformIconId: "toolbar-share"
-// visible: flipper.articleShown
-// //anchors.right: (parent === undefined) ? undefined : parent.right
-// onClicked: {
-// controller.share(window.feedid, mainArticleId);
-// }
-// }
+ ToolIcon {
+ platformIconId: "toolbar-share"
+ onClicked: {
+ controller.share(window.feedid, articlePage.mainArticleId);
+ }
+ }
-// ToolIcon {
-// platformIconId: "toolbar-next"
-// visible: article.articleShown
-// //anchors.right: (parent === undefined) ? undefined : parent.right
-// onClicked: flipper.next()
-// }
+ ToolIcon {
+ platformIconId: "toolbar-next"
+ onClicked: articlePage.next()
+ }
// ToolIcon {
// platformIconId: "toolbar-view-menu"
//text: "This is an info banner with no icon"
}
- Item {
- AutomaticUpdate {
- id: autoUpdate
- }
-
- Connections {
- target: settings
- onAutoUpdateEnabledChanged: {
- if (!settings.autoUpdateEnabled) {
- autoUpdate.stop();
- } else {
- autoUpdate.start();
- }
- }
- }
- }
+// Item {
+// AutomaticUpdate {
+// id: autoUpdate
+// }
+
+// Connections {
+// target: settings
+// onAutoUpdateEnabledChanged: {
+// if (!settings.autoUpdateEnabled) {
+// autoUpdate.stop();
+// } else {
+// autoUpdate.start();
+// }
+// }
+// }
+// }
}