Skip to content
This repository was archived by the owner on Sep 15, 2025. It is now read-only.

Commit c644372

Browse files
committed
Add new property to map
1 parent c9dbfb7 commit c644372

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

WordPressKit/AccountSettings.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ public struct AccountSettings {
99

1010
// MARK: - Account Settings
1111
public let username: String // user_login
12+
public let usernameCanBeChanged: Bool // user_login_can_be_changed
1213
public let email: String // user_email
1314
public let emailPendingAddress: String? // new_user_email
1415
public let emailPendingChange: Bool // user_email_change_pending
@@ -22,6 +23,7 @@ public struct AccountSettings {
2223
displayName: String,
2324
aboutMe: String,
2425
username: String,
26+
usernameCanBeChanged: Bool,
2527
email: String,
2628
emailPendingAddress: String?,
2729
emailPendingChange: Bool,
@@ -34,6 +36,7 @@ public struct AccountSettings {
3436
self.displayName = displayName
3537
self.aboutMe = aboutMe
3638
self.username = username
39+
self.usernameCanBeChanged = usernameCanBeChanged
3740
self.email = email
3841
self.emailPendingAddress = emailPendingAddress
3942
self.emailPendingChange = emailPendingChange

0 commit comments

Comments
 (0)