mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-03 04:27:35 +01:00
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)
|
||||
}
|
||||
viewModelScope.launch {
|
||||
try {
|
||||
session.accountDataService().updateUserAccountData(
|
||||
type = UserAccountDataTypes.TYPE_OVERRIDE_COLORS,
|
||||
content = newOverrideColorSpecs
|
||||
)
|
||||
} catch (failure: Throwable) {
|
||||
_viewEvents.post(RoomMemberProfileViewEvents.Failure(failure))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user