-
Notifications
You must be signed in to change notification settings - Fork 176
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
Iterate on notification count #2265
Conversation
📱 Scan the QR code below to install the build (arm64 only) for this PR. |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## develop #2265 +/- ##
===========================================
+ Coverage 70.05% 70.11% +0.05%
===========================================
Files 1335 1335
Lines 32684 32758 +74
Branches 6793 6807 +14
===========================================
+ Hits 22896 22967 +71
- Misses 6512 6513 +1
- Partials 3276 3278 +2 ☔ View full report in Codecov by Sentry. |
…iterate on the room badge rendering.
821ea66
to
dd12071
Compare
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.
One small remark otherwise LGTM
@@ -35,3 +36,13 @@ data class RoomListRoomSummary( | |||
val hasRoomCall: Boolean, | |||
val isDm: Boolean, | |||
) | |||
|
|||
fun RoomListRoomSummary.isTimestampHighlighted(): Boolean { |
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.
Makes it a computed val instead
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.
Quality Gate passedKudos, no new issues were introduced! 0 New issues |
Type of change
Content
Use
numUnreadMentions
andnumUnreadMessages
from the SDK in replacement fornotificationCount
.The rules for the badges are in this issue: #2079.
I did not repro the issue described here: #2130 (review) 🎉 . But maybe @jmartinesp can double check 🙏 .
Motivation and context
Closes (again) #2079
Closes #1450
Screenshots / GIFs
Tests
Tested devices
Checklist