-
Notifications
You must be signed in to change notification settings - Fork 166
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
Improve back-navigation for invitations #2024
Conversation
Quality Gate passedKudos, no new issues were introduced! 0 New issues |
📱 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 #2024 +/- ##
========================================
Coverage 67.72% 67.72%
========================================
Files 1327 1327
Lines 33607 33607
Branches 7249 7249
========================================
Hits 22761 22761
Misses 7413 7413
Partials 3433 3433 ☔ View full report in Codecov by Sentry. |
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.
Nice solution, thanks!
matrixClient.roomListService.invites.loadingState | ||
.collect { inviteState -> | ||
when (inviteState) { | ||
is RoomList.LoadingState.Loaded -> if (inviteState.numberOfRooms == 0) { |
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.
Question: any idea why it's called maximumNumberOfRooms
Rust side?
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'd say because it doesn't reflect the actual number of rooms we got from SlidingSync ? but not sure
Always close the invite list screen when there is no more invite : closes #2022