From 45ca480de190c20918018e6ab8f76e72be5968e5 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Thu, 20 Aug 2020 13:56:23 +0200 Subject: [PATCH] Ganfra's review --- .../app/features/settings/VectorSettingsGeneralFragment.kt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vector/src/main/java/im/vector/app/features/settings/VectorSettingsGeneralFragment.kt b/vector/src/main/java/im/vector/app/features/settings/VectorSettingsGeneralFragment.kt index 76f6edf3a1..fbeb5b954d 100644 --- a/vector/src/main/java/im/vector/app/features/settings/VectorSettingsGeneralFragment.kt +++ b/vector/src/main/java/im/vector/app/features/settings/VectorSettingsGeneralFragment.kt @@ -127,6 +127,10 @@ class VectorSettingsGeneralFragment : VectorSettingsBaseFragment() { override fun onViewCreated(view: View, savedInstanceState: Bundle?) { super.onViewCreated(view, savedInstanceState) + observeUserAvatar() + } + + private fun observeUserAvatar() { session.rx() .liveUser(session.myUserId) .unwrap()