Online Search (#576)
* Very basic online search for gmail. * Server side of handling offline search and listing part in listing page. * Default search mode implementation and search UI improvements. * Online search for Outlook. * Very basic online search for gmail. * Server side of handling offline search and listing part in listing page. * Default search mode implementation and search UI improvements. * Online search for Outlook. * Online search for imap without downloading the messages yet. TODO * Completing imap search.
This commit is contained in:
@@ -438,8 +438,10 @@ public sealed partial class MailListPage : MailListPageAbstract,
|
||||
|
||||
private async void SearchBar_TextChanged(AutoSuggestBox sender, AutoSuggestBoxTextChangedEventArgs args)
|
||||
{
|
||||
// User clicked 'x' button to clearout the search text.
|
||||
if (args.Reason == AutoSuggestionBoxTextChangeReason.UserInput && string.IsNullOrWhiteSpace(sender.Text))
|
||||
{
|
||||
ViewModel.IsOnlineSearchButtonVisible = false;
|
||||
await ViewModel.PerformSearchAsync();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user