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
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,