forked from mirrors/linphone-iphone
Fixed the bug that prevented users from logging out
This commit is contained in:
parent
b376328f33
commit
f1fcb9129c
1 changed files with 45 additions and 43 deletions
|
|
@ -315,6 +315,7 @@ struct ContentView: View {
|
||||||
VStack(spacing: 0) {
|
VStack(spacing: 0) {
|
||||||
if searchIsActive == false {
|
if searchIsActive == false {
|
||||||
HStack {
|
HStack {
|
||||||
|
if (accountProfileViewModel.accountModelIndex ?? 0) < CoreContext.shared.accounts.count {
|
||||||
if sharedMainViewModel.defaultAvatar != nil {
|
if sharedMainViewModel.defaultAvatar != nil {
|
||||||
AsyncImage(url: sharedMainViewModel.defaultAvatar) { image in
|
AsyncImage(url: sharedMainViewModel.defaultAvatar) { image in
|
||||||
switch image {
|
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"))))
|
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)
|
.default_text_style_white_800(styleSize: 20)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue