Skip to content

Commit ca5fea6

Browse files
committed
Implement followed games page.
1 parent 6aa0b0b commit ca5fea6

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

ubuntu-ui/pages/FollowedGamesPage.qml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,13 @@ Page {
2828
// Status for NavigationCover
2929
property string navStatus: qsTr("Following")
3030

31-
allowedOrientations: Orientation.All
31+
header: PageHeader {
32+
title: qsTr("Followed Games")
33+
flickable: mainContainer
34+
}
3235

3336
GridWrapper {
34-
header.title: qsTr("Followed Games")
37+
id: mainContainer
3538

3639
grids: [
3740
GamesGrid {
@@ -53,9 +56,5 @@ Page {
5356

5457
parameters: { "fromFollowings": true }
5558
}]
56-
57-
Categories {
58-
following: false
59-
}
6059
}
6160
}

ubuntu-ui/pages/FollowedPage.qml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,13 @@ Page {
3838
id: categories
3939
games: false
4040
}
41+
42+
trailingActionBar.actions: [
43+
Action {
44+
iconName: "view-expand"
45+
onTriggered: pageStack.push(Qt.resolvedUrl("FollowedGamesPage.qml"))
46+
}
47+
]
4148
}
4249

4350
GridWrapper {

0 commit comments

Comments
 (0)