diff --git a/composeApp/src/commonMain/kotlin/com/nuvio/app/features/profiles/ProfileSwitcherTab.kt b/composeApp/src/commonMain/kotlin/com/nuvio/app/features/profiles/ProfileSwitcherTab.kt index 9f1fe7588..0c21f16b9 100644 --- a/composeApp/src/commonMain/kotlin/com/nuvio/app/features/profiles/ProfileSwitcherTab.kt +++ b/composeApp/src/commonMain/kotlin/com/nuvio/app/features/profiles/ProfileSwitcherTab.kt @@ -81,6 +81,10 @@ fun ProfileSwitcherTab( val profiles = profileState.profiles val avatars by AvatarRepository.avatars.collectAsStateWithLifecycle() + LaunchedEffect(Unit) { + AvatarRepository.fetchAvatars() + } + val haptic = LocalHapticFeedback.current val scope = rememberCoroutineScope() val density = LocalDensity.current