Skip to content

Commit

Permalink
style: Remove commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
korapp committed Aug 18, 2023
1 parent 9b639e5 commit db63661
Showing 1 changed file with 0 additions and 28 deletions.
28 changes: 0 additions & 28 deletions package/contents/ui/StreamView.qml
Original file line number Diff line number Diff line change
Expand Up @@ -64,34 +64,6 @@ FocusScope {
PlasmaComponents3.ScrollView {
anchors.fill: parent
focus: true

/*ListView {
id: listView
currentIndex: -1
clip: true
focus: true
model: stream.articles
spacing: PlasmaCore.Units.smallSpacing
boundsBehavior: Flickable.StopAtBounds
highlight: PlasmaComponents.Highlight {}
highlightMoveDuration: PlasmaCore.Units.shortDuration
header: stream.unreadNewCount ? newArticlesButton : null
footer: stream.hasContinuation ? fetchMoreButton : null
delegate: PlasmaComponents.ListItem {
id: wrapper
width: ListView.view.width
enabled: true
opacity: model.read ? 0.6 : 1
onContainsMouseChanged: listView.currentIndex = index
onClicked: selected(model)
Keys.onReturnPressed: clicked()
content: Loader {
source: `ItemDelegate${plasmoid.configuration.viewStyle}.qml`
width: parent.width
}
property bool isCurrentItem: ListView.isCurrentItem
}
}*/

GridView {
readonly property var cellSizes: viewMinSizeMap[plasmoid.configuration.viewStyle]
Expand Down

0 comments on commit db63661

Please sign in to comment.