cleanup
This commit is contained in:
parent
fffc8addcf
commit
802f4ea5d8
|
@ -33,7 +33,6 @@ import im.vector.app.core.platform.VectorBaseFragment
|
|||
import im.vector.app.core.resources.ColorProvider
|
||||
import im.vector.app.features.roomdirectory.RoomDirectorySharedAction
|
||||
import im.vector.app.features.roomdirectory.RoomDirectorySharedActionViewModel
|
||||
import im.vector.app.features.roomprofile.settings.RoomSettingsAction
|
||||
import kotlinx.android.synthetic.main.fragment_create_room.*
|
||||
import timber.log.Timber
|
||||
import javax.inject.Inject
|
||||
|
|
|
@ -105,7 +105,7 @@ class CreateRoomViewModel @AssistedInject constructor(@Assisted initialState: Cr
|
|||
private fun doReset() {
|
||||
setState {
|
||||
// Delete temporary file with the avatar
|
||||
avatarUri?.let { tryOrNull { it.toFile().delete() }}
|
||||
avatarUri?.let { tryOrNull { it.toFile().delete() } }
|
||||
|
||||
CreateRoomViewState(
|
||||
isEncrypted = adminE2EByDefault,
|
||||
|
|
Loading…
Reference in New Issue