mirror of
https://github.com/element-hq/element-android
synced 2024-11-28 13:38:49 +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?) {
|
private fun renderCreationSuccess(roomId: String) {
|
||||||
// Navigate to freshly created room
|
navigator.openRoom(this, roomId)
|
||||||
if (roomId != null) {
|
|
||||||
navigator.openRoom(this, roomId)
|
|
||||||
}
|
|
||||||
finish()
|
finish()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue