-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Fix app crashes tapping the room name in the chat #6741
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving this as I have worked on the PR which is fixed other deploy blocker, but this one followed from it.
@@ -91,7 +91,7 @@ const ReportParticipantsPage = (props) => { | |||
styles.containerWithSpaceBetween, | |||
]} | |||
> | |||
{participants.length | |||
{Boolean(participants.length) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NAB, I usually prefer to compare length like participants.length > 0
since that is a more explicit "boolean" version of checking the length of a string - but this works too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 I'll keep that in mind for next time.
Self-merging with approval. |
Fix app crashes tapping the room name in the chat (cherry picked from commit a294333)
🚀 Deployed to staging by @luacmartins in version: 1.1.20-3 🚀
|
🚀 Deployed to production by @Julesssss in version: 1.1.21-1 🚀
|
Details
Prevents text from rendering inside a
View
by usingBoolean()
. AddingCP Staging
label as it fixes a deploy blocker.Fixed Issues
$ #6740
Tests
+
button andSelect New Room
QA Steps
Steps above.
Tested On
Screenshots
Web
Mobile Web
Desktop
iOS
ios.mov
Android
android.mov