mirror of
https://github.com/nextcloud/talk-android
synced 2025-07-15 00:35:04 +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> |
||
---|---|---|
.. | ||
AttachmentDialog.kt | ||
AudioOutputDialog.kt | ||
ChooseAccountDialogFragment.java | ||
ChooseAccountShareToDialogFragment.kt | ||
ConversationsListBottomDialog.kt | ||
DateTimeCompose.kt | ||
DialogBanListFragment.kt | ||
FileAttachmentPreviewFragment.kt | ||
FilterConversationFragment.kt | ||
MessageActionsDialog.kt | ||
MoreCallActionsDialog.kt | ||
SaveToStorageDialogFragment.kt | ||
ScopeDialog.kt | ||
SetPhoneNumberDialogFragment.kt | ||
SetStatusDialogFragment.kt | ||
ShowReactionsDialog.kt | ||
SortingOrderDialogFragment.java | ||
TempMessageActionsDialog.kt |