diff --git a/qml/AppUI/AppList.qml b/qml/AppUI/AppList.qml index 9f3e423..34c745c 100644 --- a/qml/AppUI/AppList.qml +++ b/qml/AppUI/AppList.qml @@ -28,6 +28,7 @@ Item { property string title: "" property string idSelect: "" property bool folderEditStatus: false + property int viewContentY: appListView.view.contentY signal labelItemClicked() signal openFolderPageSignal(string folderId, string folderName) function labelSelection(labelId) { diff --git a/qml/AppUI/AppListView.qml b/qml/AppUI/AppListView.qml index 9cb21d1..49bda09 100644 --- a/qml/AppUI/AppListView.qml +++ b/qml/AppUI/AppListView.qml @@ -33,16 +33,6 @@ MouseArea { hoverEnabled: true clip: true - AppControls2.StyleBackground { - anchors.top: parent.top - width: parent.width - height: 1 - useStyleTransparent: false - alpha: 0.15 - paletteRole: Palette.Text - visible: listView.contentY > 0 - } - RowLayout { anchors.fill: parent spacing: 0 diff --git a/qml/AppUI/AppPageContent.qml b/qml/AppUI/AppPageContent.qml index 4be3b86..0604111 100644 --- a/qml/AppUI/AppPageContent.qml +++ b/qml/AppUI/AppPageContent.qml @@ -41,6 +41,16 @@ SwipeView { Item { id: appListBase + AppControls2.StyleBackground { + anchors.top: parent.top + width: parent.width + height: 1 + useStyleTransparent: false + alpha: 0.15 + paletteRole: Palette.Text + visible: appList.viewContentY > 0 && appList.visible + } + AppList { id: appList anchors.fill: parent