Show how many devices will be deleted in popup

This commit is contained in:
miruka 2020-07-10 03:16:20 -04:00
parent 099c20c138
commit 9a943120a8

View File

@ -39,7 +39,11 @@ PasswordPopup {
qsTr("Enter your account's password to continue:")
validateButton.text: qsTr("Sign out")
validateButton.text:
deviceIds.length > 1 ?
qsTr("Sign out %1 devices").arg(deviceIds.length) :
qsTr("Sign out %1 device").arg(deviceIds.length)
validateButton.icon.name: "sign-out"
onClosed: {