mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-10 20:56:51 +00:00
feat(GODT-2772): configure email client button is highlighted
Misc minor tweaks & fixes.
This commit is contained in:
@ -23,6 +23,7 @@ Item {
|
||||
property int _detailsMargin: 25
|
||||
property int _lineThickness: 1
|
||||
property int _spacing: 20
|
||||
property int _buttonSpacing: 8
|
||||
property int _topMargin: 32
|
||||
property ColorScheme colorScheme
|
||||
property var notifications
|
||||
@ -63,7 +64,7 @@ Item {
|
||||
// account delegate with action buttons
|
||||
Layout.fillWidth: true
|
||||
Layout.topMargin: _topMargin
|
||||
|
||||
spacing: _buttonSpacing
|
||||
AccountDelegate {
|
||||
Layout.fillWidth: true
|
||||
colorScheme: root.colorScheme
|
||||
@ -118,12 +119,12 @@ Item {
|
||||
}
|
||||
SettingsItem {
|
||||
Layout.fillWidth: true
|
||||
actionText: qsTr("Configure")
|
||||
actionText: qsTr("Configure email client")
|
||||
colorScheme: root.colorScheme
|
||||
description: qsTr("Using the mailbox details below (re)configure your client.")
|
||||
showSeparator: splitMode.visible
|
||||
text: qsTr("Email clients")
|
||||
type: SettingsItem.Button
|
||||
type: SettingsItem.PrimaryButton
|
||||
visible: _connected && ((!root.user.splitMode) || (root.user.addresses.length === 1))
|
||||
|
||||
onClicked: {
|
||||
@ -165,8 +166,8 @@ Item {
|
||||
}
|
||||
Button {
|
||||
colorScheme: root.colorScheme
|
||||
secondary: true
|
||||
text: qsTr("Configure")
|
||||
secondary: false
|
||||
text: qsTr("Configure email client")
|
||||
|
||||
onClicked: {
|
||||
if (!root.user)
|
||||
|
||||
@ -76,7 +76,7 @@ Rectangle {
|
||||
Button {
|
||||
colorScheme: root.colorScheme
|
||||
icon.source: "/qml/icons/ic-external-link.svg"
|
||||
text: qsTr("Open Guide")
|
||||
text: qsTr("Open guide")
|
||||
|
||||
onClicked: function () {
|
||||
Backend.showWebFrameWindow(wizard.setupGuideLink());
|
||||
|
||||
Reference in New Issue
Block a user