Skip to content

Commit

Permalink
chore: use OS enum value
Browse files Browse the repository at this point in the history
and not a string
  • Loading branch information
caybro committed Apr 3, 2023
1 parent 847ad5e commit 49651fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/app/AppLayouts/Profile/popups/ChangePasswordModal.qml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ StatusModal {

function onChangePasswordResponse(success, errorMsg) {
if (success) {
if (Qt.platform.os === "osx" && localAccountSettings.storeToKeychainValue !== Constants.keychain.storedValue.never) {
if (Qt.platform.os === Constants.mac && localAccountSettings.storeToKeychainValue !== Constants.keychain.storedValue.never) {
localAccountSettings.storeToKeychainValue = Constants.keychain.storedValue.notNow;
}
passwordChanged()
Expand Down

0 comments on commit 49651fe

Please sign in to comment.