Fix latest small bugs
This commit is contained in:
parent
a7b72ed39d
commit
6d8b5db18e
|
@ -186,10 +186,14 @@ class RoomMemberProfileViewModel @AssistedInject constructor(
|
||||||
newOverrideColorSpecs.remove(initialState.userId)
|
newOverrideColorSpecs.remove(initialState.userId)
|
||||||
}
|
}
|
||||||
viewModelScope.launch {
|
viewModelScope.launch {
|
||||||
session.accountDataService().updateUserAccountData(
|
try {
|
||||||
type = UserAccountDataTypes.TYPE_OVERRIDE_COLORS,
|
session.accountDataService().updateUserAccountData(
|
||||||
content = newOverrideColorSpecs
|
type = UserAccountDataTypes.TYPE_OVERRIDE_COLORS,
|
||||||
)
|
content = newOverrideColorSpecs
|
||||||
|
)
|
||||||
|
} catch (failure: Throwable) {
|
||||||
|
_viewEvents.post(RoomMemberProfileViewEvents.Failure(failure))
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue