Others: chores fix a QML warning when no account is present, and a few typos in QML.
This commit is contained in:
parent
a00e2acb5c
commit
5459720523
|
@ -180,7 +180,7 @@ Item {
|
|||
property string dots: ""
|
||||
interval: 250;
|
||||
repeat: true;
|
||||
running: root.user && (root.user.state === EUserState.Locked)
|
||||
running: (root.user != null) && (root.user.state === EUserState.Locked)
|
||||
onTriggered: {
|
||||
dots = dots + "."
|
||||
if (dots.length > 3)
|
||||
|
|
|
@ -299,7 +299,7 @@ ColumnLayout {
|
|||
Button { colorScheme: root.colorScheme; text: "Toggle Finished"; onClicked: {user.toggleSplitModeFinished()}}
|
||||
}
|
||||
|
||||
TextArea { // TODO: this is causing binding loop on imlicitWidth
|
||||
TextArea { // TODO: this is causing binding loop on implicitWidth
|
||||
colorScheme: root.colorScheme
|
||||
text: user && user.addresses ? user.addresses.join("\n") : "user@protonmail.com"
|
||||
Layout.fillWidth: true
|
||||
|
|
|
@ -178,7 +178,7 @@ Window {
|
|||
signal toggleSplitModeFinished()
|
||||
|
||||
function configureAppleMail(address){
|
||||
userSignal("confugure apple mail "+address)
|
||||
userSignal("configure apple mail "+address)
|
||||
}
|
||||
|
||||
function logout(){
|
||||
|
|
|
@ -93,7 +93,7 @@ SettingsView {
|
|||
Layout.fillWidth: true
|
||||
}
|
||||
|
||||
// fill height so the footer label will be allways attached to the bottom
|
||||
// fill height so the footer label will be always attached to the bottom
|
||||
Item {
|
||||
Layout.fillHeight: true
|
||||
Layout.fillWidth: true
|
||||
|
|
|
@ -341,7 +341,7 @@ QtObject {
|
|||
case "windows":
|
||||
return "Segoe UI"
|
||||
case "osx":
|
||||
return ".AppleSystemUIFont" // should be SF Pro for the foreseeable future. Using "SF Pro Display" direcly here is not allowed by the font's license.
|
||||
return ".AppleSystemUIFont" // should be SF Pro for the foreseeable future. Using "SF Pro Display" directly here is not allowed by the font's license.
|
||||
case "linux":
|
||||
return "Ubuntu"
|
||||
default:
|
||||
|
|
|
@ -97,7 +97,7 @@ ColumnLayout {
|
|||
placeholderText: "Type 42 here"
|
||||
label: "42 Validator"
|
||||
hint: "Accepts only \"42\""
|
||||
assistiveText: "Type sometihng here, preferably 42"
|
||||
assistiveText: "Type something here, preferably 42"
|
||||
|
||||
wrapMode: TextInput.Wrap
|
||||
|
||||
|
|
|
@ -149,7 +149,7 @@ RowLayout {
|
|||
placeholderText: "Type 42 here"
|
||||
label: "42 Validator"
|
||||
hint: "Accepts only \"42\""
|
||||
assistiveText: "Type sometihng here, preferably 42"
|
||||
assistiveText: "Type something here, preferably 42"
|
||||
|
||||
validator: function(str) {
|
||||
if (str === "42") {
|
||||
|
|
Loading…
Reference in New Issue