Skip to content

Commit

Permalink
fix logic clear status
Browse files Browse the repository at this point in the history
  • Loading branch information
dukenv0307 committed Jan 24, 2024
1 parent 05a4c19 commit 3f0be39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/settings/Profile/CustomStatus/StatusPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ function StatusPage({draftStatus, currentUserPersonalDetails}) {
}
User.updateCustomStatus({
text: statusText,
emojiCode: emojiCode || initialEmoji,
emojiCode: !emojiCode && statusText ? initialEmoji : emojiCode,
clearAfter: clearAfterTime !== CONST.CUSTOM_STATUS_TYPES.NEVER ? clearAfterTime : '',
});

Expand Down

0 comments on commit 3f0be39

Please sign in to comment.