mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +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(
|
||||
sourceFlags: MagicSearch.Source.Friends.rawValue | MagicSearch.Source.LdapServers.rawValue)
|
||||
} else if index == 1 {
|
||||
historyListViewModel.filterCallLogs(filter: text)
|
||||
if text.isEmpty {
|
||||
historyListViewModel.resetFilterCallLogs()
|
||||
} else {
|
||||
historyListViewModel.filterCallLogs(filter: text)
|
||||
}
|
||||
} else if index == 2 {
|
||||
//TODO Conversations List reset
|
||||
} else if index == 3 {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue