diff --git a/native/chat/chat-input-bar.react.js b/native/chat/chat-input-bar.react.js --- a/native/chat/chat-input-bar.react.js +++ b/native/chat/chat-input-bar.react.js @@ -1069,22 +1069,23 @@ if (!isMember && currentUserCanJoin && !threadCreationInProgress) { let buttonContent; + const useDarkColor = !colorIsDark(threadInfo.color); if (joinThreadLoadingStatus === 'loading') { buttonContent = ( ); } else { - const textStyle = colorIsDark(threadInfo.color) - ? styles.joinButtonTextLight - : styles.joinButtonTextDark; + const textStyle = useDarkColor + ? styles.joinButtonTextDark + : styles.joinButtonTextLight; buttonContent = ( - Join Chat + Join chat ); } diff --git a/web/chat/chat-input-bar.react.js b/web/chat/chat-input-bar.react.js --- a/web/chat/chat-input-bar.react.js +++ b/web/chat/chat-input-bar.react.js @@ -225,7 +225,7 @@ buttonContent = ( <> -

Join Chat

+

Join chat

); }