Skip to content

Commit

Permalink
Lower the amount of text needed to start auto-complete in composer pa…
Browse files Browse the repository at this point in the history
…ge to 2.
  • Loading branch information
bkaankose committed Feb 16, 2025
1 parent f021834 commit 8800d11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Wino.Mail/Views/ComposePage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ private IDisposable GetSuggestionBoxDisposable(TokenizingTextBox box)
{
if (t.EventArgs.Reason == AutoSuggestionBoxTextChangeReason.UserInput)
{
if (t.Sender is AutoSuggestBox senderBox && senderBox.Text.Length >= 3)
if (t.Sender is AutoSuggestBox senderBox && senderBox.Text.Length >= 2)
{
_ = ViewModel.ContactService.GetAddressInformationAsync(senderBox.Text).ContinueWith(x =>
{
Expand Down Expand Up @@ -691,4 +691,4 @@ private async void OnClose(object sender, SystemNavigationCloseRequestedPreviewE
}

[JsonSerializable(typeof(List<ImageInfo>))]
public partial class ComposerPageJsonContext: JsonSerializerContext;
public partial class ComposerPageJsonContext : JsonSerializerContext;

0 comments on commit 8800d11

Please sign in to comment.