mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-11 23:05:17 +00:00
33d38a4081
- Added local pairing signals - Remove slash ending from keystorePath - Implemented localPairingState. Fixed sync new device workflow. - Error message view design update - Moved local pairing status to devices service - ConnectionString automatic validation - Async inputConnectionString - Added all installation properties to model. Minor renaming. - Removed emoji and color customization - Show display name, colorhash and color in device being synced - Add timeout to pairing server - Add device type Fix `DeviceSyncingView` sizing. Fix `inputConnectionString` async task slot.
53 lines
1.2 KiB
QML
53 lines
1.2 KiB
QML
import QtQuick 2.14
|
|
import QtQuick.Layouts 1.14
|
|
|
|
import StatusQ.Core 0.1
|
|
import StatusQ.Core.Theme 0.1
|
|
import StatusQ.Components 0.1
|
|
import StatusQ.Core.Utils 0.1
|
|
|
|
import shared.controls 1.0
|
|
|
|
ColumnLayout {
|
|
id: root
|
|
|
|
property string primaryText
|
|
property string secondaryText
|
|
|
|
spacing: 12
|
|
|
|
StatusBaseText {
|
|
Layout.fillWidth: true
|
|
Layout.fillHeight: true
|
|
Layout.preferredHeight: parent.height / 2
|
|
horizontalAlignment: Text.AlignHCenter
|
|
verticalAlignment: Text.AlignBottom
|
|
text: root.primaryText
|
|
font.pixelSize: 17
|
|
color: Theme.palette.dangerColor1
|
|
}
|
|
|
|
Item {
|
|
Layout.fillWidth: true
|
|
Layout.fillHeight: true
|
|
Layout.leftMargin: 60
|
|
Layout.rightMargin: 60
|
|
Layout.preferredWidth: 360
|
|
Layout.preferredHeight: parent.height / 2
|
|
Layout.minimumHeight: detailsView.implicitHeight
|
|
|
|
ErrorDetails {
|
|
id: detailsView
|
|
|
|
anchors {
|
|
top: parent.top
|
|
left: parent.left
|
|
right: parent.right
|
|
}
|
|
|
|
title: qsTr("Failed to start pairing server")
|
|
details: root.secondaryText
|
|
}
|
|
}
|
|
}
|