Warning, /plasma/discover/libdiscover/backends/FlatpakBackend/qml/FlatpakAttention.qml is written in an unsupported language. File is not indexed.

0001 /*
0002  *   SPDX-FileCopyrightText: 2021 Aleix Pol Gonzalez <aleixpol@kde.org>
0003  *
0004  *   SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0005  */
0006 
0007 import QtQuick
0008 import QtQuick.Layouts
0009 import org.kde.discover as Discover
0010 import org.kde.kirigami as Kirigami
0011 
0012 Kirigami.InlineMessage {
0013     required property Discover.AbstractResource resource
0014 
0015     Layout.fillWidth: true
0016     text: resource.attentionText
0017     visible: resource && text.length > 0
0018     onLinkActivated: link => Qt.openUrlExternally(link)
0019 }