Typo and cleanup

This commit is contained in:
Benoit Marty 2020-06-11 18:00:34 +02:00
parent 262f10af9a
commit 530ce0952c
2 changed files with 2 additions and 2 deletions

View file

@ -94,7 +94,7 @@ class RoomDetailActivity : VectorBaseActivity(), ToolbarConfigurable {
hideKeyboard()
if (!drawerLayout.isDrawerOpen(GravityCompat.START) && newState == DrawerLayout.STATE_DRAGGING) {
// User is starting to open the drawer, scroll the list to op
// User is starting to open the drawer, scroll the list to top
scrollBreadcrumbsToTop()
}
}

View file

@ -42,7 +42,7 @@ data class RoomMemberProfileViewState(
val actionPermissions: ActionPermissions = ActionPermissions()
) : MvRxState {
constructor(args: RoomMemberProfileArgs) : this(roomId = args.roomId, userId = args.userId)
constructor(args: RoomMemberProfileArgs) : this(userId = args.userId, roomId = args.roomId)
}
data class ActionPermissions(