Commit 8bc57c3f authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

Fix warning

parent 94bc1e45
......@@ -245,7 +245,7 @@ DiscoverPage {
LinkButton {
text: i18n("Review")
onClicked: reviewsSheet.openReviewDialog()
visible: !commentsButton.visible && reviewsModel.backend.isResourceSupported(appInfo.application)
visible: !commentsButton.visible && reviewsModel.backend && reviewsModel.backend.isResourceSupported(appInfo.application)
}
LinkButton {
id: commentsButton
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment