mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-09 08:38:43 +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)
|
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…
x
Reference in New Issue
Block a user