talk-android/app/src/main/java/com/nextcloud/talk/ui
Marcel Hibbe 5219eeb11f
replace userManager.currentUser usage by currentUserProvider usage
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>
2025-02-07 13:13:38 +01:00
..
bottom/sheet set values to not nullable in ConversationEntity.kt wherever this makes sense 2024-08-12 16:47:06 +02:00
dialog replace userManager.currentUser usage by currentUserProvider usage 2025-02-07 13:13:38 +01:00
recyclerview Add SPDX header 2024-03-29 15:42:11 +01:00
theme style(reactions): ensure correct color coding of own reaction backgrounds 2025-01-16 15:40:54 +01:00
MessageInput.kt Avoid StackOverflowError when opening chat (kotlin2.0 fix) 2024-06-18 11:54:33 +02:00
MicInputCloud.kt Add SPDX header 2024-03-29 15:42:11 +01:00
PlaybackSpeedControl.kt playback speed control button for voice messages 2024-12-02 18:12:30 +01:00
StatusDrawable.java Add SPDX header 2024-03-29 15:42:11 +01:00
WaveformSeekBar.kt Add SPDX header 2024-03-29 15:42:11 +01:00