mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-27 03:49:04 +03:00
Remove useless nullability in method param
This commit is contained in:
parent
61b74bb083
commit
c13feb983e
1 changed files with 2 additions and 5 deletions
|
@ -168,11 +168,8 @@ class CreateDirectRoomActivity : SimpleFragmentActivity() {
|
|||
}
|
||||
}
|
||||
|
||||
private fun renderCreationSuccess(roomId: String?) {
|
||||
// Navigate to freshly created room
|
||||
if (roomId != null) {
|
||||
navigator.openRoom(this, roomId)
|
||||
}
|
||||
private fun renderCreationSuccess(roomId: String) {
|
||||
navigator.openRoom(this, roomId)
|
||||
finish()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue