mirror of
https://github.com/element-hq/element-android
synced 2024-11-28 13:38:49 +03:00
cleanup
This commit is contained in:
parent
fffc8addcf
commit
802f4ea5d8
2 changed files with 1 additions and 2 deletions
|
@ -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 a new issue