Fixed the bug that prevented users from logging out

This commit is contained in:
benoit.martins 2025-02-07 18:21:05 +01:00
parent b376328f33
commit f1fcb9129c

View file

@ -315,6 +315,7 @@ struct ContentView: View {
VStack(spacing: 0) {
if searchIsActive == false {
HStack {
if (accountProfileViewModel.accountModelIndex ?? 0) < CoreContext.shared.accounts.count {
if sharedMainViewModel.defaultAvatar != nil {
AsyncImage(url: sharedMainViewModel.defaultAvatar) { image in
switch image {
@ -367,6 +368,7 @@ struct ContentView: View {
}
}
}
}
Text(String(localized: index == 0 ? "bottom_navigation_contacts_label" : (index == 1 ? "bottom_navigation_calls_label" : (index == 2 ? "bottom_navigation_conversations_label" : "bottom_navigation_meetings_label"))))
.default_text_style_white_800(styleSize: 20)