Skip to content

Commit

Permalink
Merge pull request #2 from muak/FixEntryCell
Browse files Browse the repository at this point in the history
Fix iOS EntryCell
  • Loading branch information
muak authored Nov 15, 2017
2 parents ba6864f + 5bcd52b commit 71ddd3d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
6 changes: 5 additions & 1 deletion SettingsView.iOS/Cells/EntryCellRenderer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,11 @@ protected override void Dispose(bool disposing)

void UpdateValueText()
{
ValueField.Text = _EntryCell.ValueText;
//Without this judging, TextField don't correctly work when inputting Japanese (maybe other 2byte languages either).
if (ValueField.Text != _EntryCell.ValueText)
{
ValueField.Text = _EntryCell.ValueText;
}
}

void UpdateValueTextFontSize()
Expand Down
7 changes: 4 additions & 3 deletions nuget/SettingsView_mac.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
<metadata>
<id>AiForms.SettingsView</id>
<version>0.0.1-pre5</version>
<version>0.0.1-pre6</version>
<title>SettingsView for Xamarin.Forms</title>
<authors>kamu</authors>
<owners>kamu</owners>
Expand All @@ -16,8 +16,9 @@ There are various cells such as (LabelCell,ButtonCell,CommandCell,SwitchCell,Che
<releaseNotes>
## Bug fix

* Crashed when used style
* When constituted TabbedPage/NavigationPage/ContentPage, didn't move collectlly.
* EntryCell didn't correctly work when inputting Japanese. (pre6)
* Crashed when used style.
* When constituted TabbedPage/NavigationPage/ContentPage, didn't move correctly.

## Default Value changed

Expand Down

0 comments on commit 71ddd3d

Please sign in to comment.