mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-08 16:18:53 +01:00
Fix unused parameter
This commit is contained in:
parent
ef5c552a3b
commit
846c5d52b8
@ -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…
x
Reference in New Issue
Block a user