Fix unused parameter

This commit is contained in:
Valere 2021-06-24 11:54:06 +02:00
parent ef5c552a3b
commit 846c5d52b8

View file

@ -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())