mirror of
https://github.com/element-hq/element-android
synced 2024-11-28 21:48:50 +03:00
Delete temporary file once the room avatar is uploaded
This commit is contained in:
parent
f5e46df309
commit
489bddec5b
1 changed files with 1 additions and 0 deletions
|
@ -210,6 +210,7 @@ class RoomSettingsViewModel @AssistedInject constructor(@Assisted initialState:
|
|||
{
|
||||
postLoading(false)
|
||||
setState { copy(newHistoryVisibility = null) }
|
||||
deletePendingAvatar()
|
||||
_viewEvents.post(RoomSettingsViewEvents.Success)
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue