feat(@desktop/activities): Updated no activity text style (#10461)

closes #10443
This commit is contained in:
Cuteivist 2023-05-02 10:01:04 +02:00 committed by GitHub
parent 7dfd13ca77
commit cdbdae2d39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 14 additions and 4 deletions

View File

@ -10,6 +10,8 @@ import StatusQ.Components 0.1
import StatusQ.Core.Theme 0.1
import StatusQ.Popups 0.1
import shared.controls 1.0
import utils 1.0
import AppLayouts.Profile.controls 1.0

View File

@ -7,6 +7,8 @@ import StatusQ.Controls 0.1
import StatusQ.Components 0.1
import StatusQ.Core.Theme 0.1
import shared.controls 1.0
import utils 1.0
import AppLayouts.Profile.popups 1.0

View File

@ -30,6 +30,8 @@ Shape {
id: root
property string text
property color textColor: Theme.palette.baseColor1
property alias font: description.font
property int radius: Style.current.radius
readonly property alias path: path
@ -41,11 +43,12 @@ Shape {
implicitHeight: 44
StatusBaseText {
id: description
anchors.centerIn: parent
color: Theme.palette.baseColor1
color: root.textColor
text: root.text
font.pixelSize: 13
visible: text
visible: (!!text)
}
ShapePath {

View File

@ -13,6 +13,7 @@ Input 1.0 Input.qml
RadioButtonSelector 1.0 RadioButtonSelector.qml
RecipientSelector 1.0 RecipientSelector.qml
SearchBox 1.0 SearchBox.qml
ShapeRectangle 1.0 ShapeRectangle.qml
SeedPhraseTextArea 1.0 SeedPhraseTextArea.qml
SendToContractWarning 1.0 SendToContractWarning.qml
SettingsRadioButton 1.0 SettingsRadioButton.qml

View File

@ -56,11 +56,13 @@ ColumnLayout {
color: Style.current.danger
}
StyledText {
ShapeRectangle {
id: noTxs
Layout.fillWidth: true
Layout.preferredHeight: 42
visible: !d.isLoading && transactionListRoot.count === 0
text: qsTr("No transactions found")
font.pixelSize: Style.current.primaryTextFontSize
text: qsTr("Activity for this account will appear here")
}
StatusListView {