Control UI visibility in ProfileEditor

This commit is contained in:
Fedor Indutny 2024-02-14 12:30:32 -08:00 committed by GitHub
parent 0fe797e511
commit 9b98e20a8c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 29 additions and 1 deletions

View file

@ -44,6 +44,9 @@ export default {
usernameLinkCorrupted: {
control: 'boolean',
},
isUsernameDeletionEnabled: {
control: 'boolean',
},
},
args: {
aboutEmoji: '',
@ -60,6 +63,7 @@ export default {
usernameLinkColor: Proto.AccountRecord.UsernameLink.Color.PURPLE,
usernameEditState: UsernameEditState.Editing,
usernameLinkState: UsernameLinkState.Ready,
isUsernameDeletionEnabled: true,
recentEmojis: [],
skinTone: 0,