mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-26 19:36:08 +03:00
Fix unused variables
This commit is contained in:
parent
871360754e
commit
8366437147
2 changed files with 1 additions and 2 deletions
|
@ -174,7 +174,7 @@ class MatrixToRoomSpaceFragment @Inject constructor(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
val images = listOf(views.knownMember1, views.knownMember2, views.knownMember3, views.knownMember4, views.knownMember5)
|
listOf(views.knownMember1, views.knownMember2, views.knownMember3, views.knownMember4, views.knownMember5)
|
||||||
.onEach { it.isGone = true }
|
.onEach { it.isGone = true }
|
||||||
when (state.peopleYouKnow) {
|
when (state.peopleYouKnow) {
|
||||||
is Success -> {
|
is Success -> {
|
||||||
|
|
|
@ -70,7 +70,6 @@ class SpaceSettingsController @Inject constructor(
|
||||||
RoomSettingsViewState.AvatarAction.None -> {
|
RoomSettingsViewState.AvatarAction.None -> {
|
||||||
// Use the current value
|
// Use the current value
|
||||||
avatarRenderer(host.avatarRenderer)
|
avatarRenderer(host.avatarRenderer)
|
||||||
val mxItem = roomSummary.toMatrixItem()
|
|
||||||
// We do not want to use the fallback avatar url, which can be the other user avatar, or the current user avatar.
|
// We do not want to use the fallback avatar url, which can be the other user avatar, or the current user avatar.
|
||||||
matrixItem(roomSummary.toMatrixItem().updateAvatar(data.currentRoomAvatarUrl))
|
matrixItem(roomSummary.toMatrixItem().updateAvatar(data.currentRoomAvatarUrl))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue