Skip to content

Commit

Permalink
Correct PackageId : Maui.AutoSuggestBox, and Summary, upgrade a Sampl…
Browse files Browse the repository at this point in the history
…eApp nuget pkg
  • Loading branch information
davefxy committed Jun 1, 2023
1 parent 9f470eb commit e8fef1b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
6 changes: 3 additions & 3 deletions AutoSuggestBox/Handlers/NativeAutoSuggestBox.iOS.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ public partial class AutoSuggestBoxView : UIKit.UIView
/// </summary>
public AutoSuggestBoxView()
{
InputTextField = new UIKit.UITextField()
InputTextField = new UIKit.UITextField
{
TranslatesAutoresizingMaskIntoConstraints = false,
BorderStyle = UIKit.UITextBorderStyle.None,
ReturnKeyType = UIKit.UIReturnKeyType.Search,
AutocorrectionType = UITextAutocorrectionType.No
AutocorrectionType = UITextAutocorrectionType.No,
ShouldReturn = InputText_OnShouldReturn
};
InputTextField.ShouldReturn = InputText_OnShouldReturn;
InputTextField.EditingDidBegin += OnEditingDidBegin;
InputTextField.EditingDidEnd += OnEditingDidEnd;
InputTextField.EditingChanged += InputText_EditingChanged;
Expand Down
4 changes: 2 additions & 2 deletions AutoSuggestBox/Maui.AutoSuggestBox.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
<NeutralLanguage>en</NeutralLanguage>
<LangVersion>latest</LangVersion>
<GitInfoReportImportance>high</GitInfoReportImportance>
<PackageId>MauiAutoSuggestBox</PackageId>
<Summary>A control that allows you to design any type of switch/ toggle for .NET MAUI. It's also 100% accessible.</Summary>
<PackageId>Maui.AutoSuggestBox</PackageId>
<Summary>Use an AutoSuggestBox to provide a list of suggestions for a user to select from as they type.</Summary>
<Authors>Morten Nielsen</Authors>
<Copyright>Morten Nielsen</Copyright>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
Expand Down
3 changes: 1 addition & 2 deletions SampleApp/SampleApp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,14 @@
<EmbeddedResource Include="Data\USCities.txt" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.1.0" />
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\AutoSuggestBox\Maui.AutoSuggestBox.csproj" />
</ItemGroup>

<ItemGroup>
<Folder Include="Data\" />
<Folder Include="Views\" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit e8fef1b

Please sign in to comment.