-
Notifications
You must be signed in to change notification settings - Fork 226
Remove alias from room invite item #4531
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
📱 Scan the QR code below to install the build (arm64 only) for this PR. |
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #4531 +/- ##
========================================
Coverage 80.14% 80.14%
========================================
Files 2083 2083
Lines 54902 54902
Branches 6849 6848 -1
========================================
Hits 43999 43999
Misses 8543 8543
Partials 2360 2360 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
@@ -232,13 +231,12 @@ private fun NameAndTimestampRow( | |||
private fun InviteSubtitle( | |||
isDm: Boolean, | |||
inviteSender: InviteSender?, | |||
canonicalAlias: RoomAlias?, | |||
modifier: Modifier = Modifier | |||
) { | |||
val subtitle = if (isDm) { | |||
inviteSender?.userId?.value |
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.
Could be inviteSender?.userId?.value?.takeIf { isDm }
, maybe.
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.
Yes, I was expecting this remark :)
Content
Remove alias from room invite item
Motivation and context
Cleaner ui. Room alias is still visible in the invitation detail screen (when user clicks on the invitation itself, not the buttons to accept or reject)
Screenshots / GIFs
See recorded one
Tests
Tested devices
Checklist