mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-27 12:00:03 +03:00
Fix unused var
This commit is contained in:
parent
d2af7e3f91
commit
33273955cb
2 changed files with 2 additions and 2 deletions
|
@ -192,7 +192,7 @@ class SpaceDirectoryFragment @Inject constructor(
|
|||
}
|
||||
|
||||
override fun addExistingRooms(spaceId: String) {
|
||||
SpaceAddRoomSpaceChooserBottomSheet.newInstance(spaceId).show(childFragmentManager, "SpaceAddRoomSpaceChooserBottomSheet")
|
||||
SpaceAddRoomSpaceChooserBottomSheet.newInstance().show(childFragmentManager, "SpaceAddRoomSpaceChooserBottomSheet")
|
||||
}
|
||||
|
||||
override fun loadAdditionalItemsIfNeeded() {
|
||||
|
|
|
@ -56,7 +56,7 @@ class SpaceAddRoomSpaceChooserBottomSheet : VectorBaseBottomSheetDialogFragment<
|
|||
const val ACTION_ADD_ROOMS = "Action.AddRoom"
|
||||
const val ACTION_ADD_SPACES = "Action.AddSpaces"
|
||||
|
||||
fun newInstance(spaceId: String)
|
||||
fun newInstance()
|
||||
: SpaceAddRoomSpaceChooserBottomSheet {
|
||||
return SpaceAddRoomSpaceChooserBottomSheet()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue