private async void FieldEmoji_TextChanged(object sender, TextChangedEventArgs e)
 {
     if (string.IsNullOrWhiteSpace(FieldEmoji.Text))
     {
         EmojiCollection.Source = Toolbar.ItemsSource;
     }
     else
     {
         EmojiCollection.Source = await Emoji.SearchAsync(ViewModel.ProtoService, FieldEmoji.Text, _selected, CoreTextServicesManager.GetForCurrentView().InputLanguage.LanguageTag);
     }
 }
Beispiel #2
0
 private async void FieldEmoji_TextChanged(object sender, TextChangedEventArgs e)
 {
     if (string.IsNullOrWhiteSpace(FieldEmoji.Text))
     {
         EmojiCollection.Source = Toolbar.ItemsSource;
     }
     else
     {
         EmojiCollection.Source = await Emoji.SearchAsync(ViewModel.ProtoService, FieldEmoji.Text, _selected);
     }
 }