Others: chores fix a QML warning when no account is present, and a few typos in QML.

This commit is contained in:
Xavier Michelon 2023-01-18 11:04:13 +01:00
parent a00e2acb5c
commit 5459720523
No known key found for this signature in database
GPG Key ID: DAE1FC3F3255843C
7 changed files with 7 additions and 7 deletions

View File

@ -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)

View File

@ -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

View File

@ -178,7 +178,7 @@ Window {
signal toggleSplitModeFinished()
function configureAppleMail(address){
userSignal("confugure apple mail "+address)
userSignal("configure apple mail "+address)
}
function logout(){

View File

@ -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

View File

@ -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:

View File

@ -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

View File

@ -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") {