diff --git a/ui/StatusQ b/ui/StatusQ index a22d8252b1..9f6f9905e9 160000 --- a/ui/StatusQ +++ b/ui/StatusQ @@ -1 +1 @@ -Subproject commit a22d8252b104b25459d4cb7c387e1ca5cf4fc00a +Subproject commit 9f6f9905e988bb98689a4157dc7ad1fd42ea88c2 diff --git a/ui/app/AppLayouts/Chat/controls/community/CommunityDescriptionInput.qml b/ui/app/AppLayouts/Chat/controls/community/CommunityDescriptionInput.qml index 421f0a184f..6256376fd9 100644 --- a/ui/app/AppLayouts/Chat/controls/community/CommunityDescriptionInput.qml +++ b/ui/app/AppLayouts/Chat/controls/community/CommunityDescriptionInput.qml @@ -30,5 +30,4 @@ StatusInput { qsTr("community description")) } ] - validationMode: StatusInput.ValidationMode.Always } diff --git a/ui/app/AppLayouts/Chat/controls/community/CommunityIntroMessageInput.qml b/ui/app/AppLayouts/Chat/controls/community/CommunityIntroMessageInput.qml index e188c76c28..96f66b8a9a 100644 --- a/ui/app/AppLayouts/Chat/controls/community/CommunityIntroMessageInput.qml +++ b/ui/app/AppLayouts/Chat/controls/community/CommunityIntroMessageInput.qml @@ -29,5 +29,4 @@ StatusInput { qsTr("community intro message")) } ] - validationMode: StatusInput.ValidationMode.Always } diff --git a/ui/app/AppLayouts/Chat/controls/community/CommunityNameInput.qml b/ui/app/AppLayouts/Chat/controls/community/CommunityNameInput.qml index f4b1ba955a..2392cb5e3e 100644 --- a/ui/app/AppLayouts/Chat/controls/community/CommunityNameInput.qml +++ b/ui/app/AppLayouts/Chat/controls/community/CommunityNameInput.qml @@ -22,5 +22,4 @@ StatusInput { qsTr("community name")) } ] - validationMode: StatusInput.ValidationMode.Always } diff --git a/ui/app/AppLayouts/Chat/controls/community/CommunityOutroMessageInput.qml b/ui/app/AppLayouts/Chat/controls/community/CommunityOutroMessageInput.qml index 146c3ac7f9..7814750a1a 100644 --- a/ui/app/AppLayouts/Chat/controls/community/CommunityOutroMessageInput.qml +++ b/ui/app/AppLayouts/Chat/controls/community/CommunityOutroMessageInput.qml @@ -25,5 +25,4 @@ StatusInput { qsTr("community intro message")) } ] - validationMode: StatusInput.ValidationMode.Always } diff --git a/ui/app/AppLayouts/Chat/popups/community/CreateChannelPopup.qml b/ui/app/AppLayouts/Chat/popups/community/CreateChannelPopup.qml index 77f73b39ee..27259fd42c 100644 --- a/ui/app/AppLayouts/Chat/popups/community/CreateChannelPopup.qml +++ b/ui/app/AppLayouts/Chat/popups/community/CreateChannelPopup.qml @@ -131,7 +131,6 @@ StatusDialog { root.emojiPopup.y = root.y + root.header.height + root.topPadding + nameInput.height + Style.current.smallPadding; } } - validationMode: StatusInput.ValidationMode.Always validators: [ StatusMinLengthValidator { minLength: 1 @@ -214,7 +213,6 @@ StatusDialog { input.multiline: true minimumHeight: 88 maximumHeight: 88 - validationMode: StatusInput.ValidationMode.Always validators: [StatusMinLengthValidator { minLength: 1 errorMessage: Utils.getErrorMessage(descriptionTextArea.errors, qsTr("channel description")) diff --git a/ui/app/AppLayouts/Profile/popups/SendContactRequestModal.qml b/ui/app/AppLayouts/Profile/popups/SendContactRequestModal.qml index 6475d6d672..85198995f6 100644 --- a/ui/app/AppLayouts/Profile/popups/SendContactRequestModal.qml +++ b/ui/app/AppLayouts/Profile/popups/SendContactRequestModal.qml @@ -137,7 +137,6 @@ StatusModal { minLength: d.minMsgLength errorMessage: Utils.getErrorMessage(messageInput.errors, qsTr("who are you")) }] - validationMode: StatusInput.ValidationMode.Always } } } diff --git a/ui/app/AppLayouts/Profile/popups/backupseed/BackupSeedStepBase.qml b/ui/app/AppLayouts/Profile/popups/backupseed/BackupSeedStepBase.qml index e6e09432f5..89f5bc0944 100644 --- a/ui/app/AppLayouts/Profile/popups/backupseed/BackupSeedStepBase.qml +++ b/ui/app/AppLayouts/Profile/popups/backupseed/BackupSeedStepBase.qml @@ -39,13 +39,12 @@ StatusScrollView { id: inputText visible: (wordRandomNumber > -1) implicitWidth: 448 - validationMode: StatusInput.ValidationMode.Always label: qsTr("Word #%1").arg(wordRandomNumber + 1) placeholderText: qsTr("Enter word") validators: [ StatusValidator { validate: function (t) { return (root.wordAtRandomNumber === inputText.text); } - errorMessage: (inputText.text.length) > 0 ? qsTr("Wrong word") : "" + errorMessage: qsTr("Wrong word") } ] Layout.fillWidth: true diff --git a/ui/imports/shared/popups/SendContactRequestModal.qml b/ui/imports/shared/popups/SendContactRequestModal.qml index 7a8bdc583d..6d88cce369 100644 --- a/ui/imports/shared/popups/SendContactRequestModal.qml +++ b/ui/imports/shared/popups/SendContactRequestModal.qml @@ -63,7 +63,6 @@ StatusModal { minLength: d.minMsgLength errorMessage: Utils.getErrorMessage(messageInput.errors, qsTr("who are you")) } - validationMode: StatusInput.ValidationMode.Always Layout.fillWidth: true } }