diff --git a/src/Library/src/QuasarAppCreditsModule/Credits.qml b/src/Library/src/QuasarAppCreditsModule/Credits.qml index 0f16409..eff6dbd 100644 --- a/src/Library/src/QuasarAppCreditsModule/Credits.qml +++ b/src/Library/src/QuasarAppCreditsModule/Credits.qml @@ -10,7 +10,7 @@ Page { property bool showHeader: true property bool showPatreon: true property bool showBitcoin: true - property bool showPatrons: (showQR || showPatreon || showBitcoin) && listCustomInfo.length + property bool showPatrons: (showQR || showPatreon || showBitcoin) // developersa and patronsList lists must be contain structure with a section amd sectionList fields. // The section it is section name @@ -109,7 +109,7 @@ Page { ListViewer { model: listCustomInfo - visible: showPatrons + visible: listCustomInfo.length } } @@ -182,8 +182,6 @@ Page { showHeader: false showPatreon: false showBitcoin: false - listCustomInfo: [] - } } ] diff --git a/src/Library/src/QuasarAppCreditsModule/ListViewer.qml b/src/Library/src/QuasarAppCreditsModule/ListViewer.qml index 1d512ce..6f0c093 100644 --- a/src/Library/src/QuasarAppCreditsModule/ListViewer.qml +++ b/src/Library/src/QuasarAppCreditsModule/ListViewer.qml @@ -17,11 +17,12 @@ import QtQuick.Layouts 1.15 //] ColumnLayout { + id: root property var model: [] Layout.fillWidth: true Repeater { - model: model + model: root.model Label { text: modelData