mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-19 19:49:33 +01:00
userManager.currentUser was called too often. I was not able to prove that a bug is related to it but i think it may fix some hidden bugs. CurrentUserProviderImpl is now used throughout the code to access the current user. userManager.currentUser is only used from CurrentUserProviderImpl whenever the _currentUser was null (should only happen on app startup) To avoid multiple initialization of CurrentUserProviderImpl it was changed to be a @Singleton The handling should soon be replaced with coroutine flows. However for the v21.0.0 release it's still done with RxJava to avoid bugs. Signed-off-by: Marcel Hibbe <dev@mhibbe.de> |
||
---|---|---|
.. | ||
bottom/sheet | ||
dialog | ||
recyclerview | ||
theme | ||
MessageInput.kt | ||
MicInputCloud.kt | ||
PlaybackSpeedControl.kt | ||
StatusDrawable.java | ||
WaveformSeekBar.kt |