mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-04-22 15:38:33 +00:00
Display all calls when call history filter is empty
This commit is contained in:
parent
ea921badfb
commit
c750a8cfb2
1 changed files with 5 additions and 1 deletions
|
|
@ -448,7 +448,11 @@ struct ContentView: View {
|
||||||
MagicSearchSingleton.shared.searchForContacts(
|
MagicSearchSingleton.shared.searchForContacts(
|
||||||
sourceFlags: MagicSearch.Source.Friends.rawValue | MagicSearch.Source.LdapServers.rawValue)
|
sourceFlags: MagicSearch.Source.Friends.rawValue | MagicSearch.Source.LdapServers.rawValue)
|
||||||
} else if index == 1 {
|
} else if index == 1 {
|
||||||
historyListViewModel.filterCallLogs(filter: text)
|
if text.isEmpty {
|
||||||
|
historyListViewModel.resetFilterCallLogs()
|
||||||
|
} else {
|
||||||
|
historyListViewModel.filterCallLogs(filter: text)
|
||||||
|
}
|
||||||
} else if index == 2 {
|
} else if index == 2 {
|
||||||
//TODO Conversations List reset
|
//TODO Conversations List reset
|
||||||
} else if index == 3 {
|
} else if index == 3 {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue