mirror of
https://github.com/element-hq/element-android
synced 2024-11-24 10:25:35 +03:00
Fix unused parameter
This commit is contained in:
parent
ef5c552a3b
commit
846c5d52b8
1 changed files with 2 additions and 2 deletions
|
@ -79,7 +79,7 @@ class MigrateRoomViewModel @AssistedInject constructor(
|
|||
}
|
||||
}
|
||||
MigrateRoomAction.UpgradeRoom -> {
|
||||
handleUpgradeRoom(action)
|
||||
handleUpgradeRoom()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -94,7 +94,7 @@ class MigrateRoomViewModel @AssistedInject constructor(
|
|||
}
|
||||
}
|
||||
|
||||
private fun handleUpgradeRoom(action: MigrateRoomAction) = withState { state ->
|
||||
private fun handleUpgradeRoom() = withState { state ->
|
||||
val summary = session.getRoomSummary(state.roomId)
|
||||
setState {
|
||||
copy(upgradingStatus = Loading())
|
||||
|
|
Loading…
Reference in a new issue