-
Notifications
You must be signed in to change notification settings - Fork 758
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
Space Switching: Space Invites #6924
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.
Some small remarks
@@ -51,6 +52,7 @@ class NewSpaceSummaryController @Inject constructor( | |||
nonNullViewState.spaces, | |||
nonNullViewState.selectedSpace, | |||
nonNullViewState.rootSpacesOrdered, | |||
nonNullViewState.inviters, |
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.
Pass the nonNullViewState instead of each values?
@@ -44,6 +44,13 @@ class UnreadCounterBadgeView : MaterialTextView { | |||
} | |||
} | |||
|
|||
fun renderWithText(text: String, highlighted: 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.
Would prefer to have one render method with sealed class State 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.
Thanks for the changes, LGTM
…-invites # Conflicts: # vector/src/main/java/im/vector/app/features/spaces/NewSpaceSummaryController.kt
|
As I will be away for the next week, @fedrunov please feel free to merge once approved |
SonarCloud Quality Gate failed. |
Type of change
Content
Adds invites to space list
Motivation and context
Closes #6583
Screenshots / GIFs
Tests
Tested devices
Checklist