1
0
mirror of https://github.com/bitwarden/mobile synced 2026-01-08 19:43:56 +00:00

added image option to form entry cell. Added clear option to extended entry

This commit is contained in:
Kyle Spearrin
2016-06-27 22:17:49 -04:00
parent 54da129887
commit 0cbda0b574
18 changed files with 104 additions and 17 deletions

View File

@@ -25,6 +25,11 @@ namespace Bit.iOS.Controls
SetMaxLength(view);
UpdateKeyboard();
if(view.AllowClear)
{
Control.ClearButtonMode = UITextFieldViewMode.WhileEditing;
}
if(view.DisableAutocapitalize)
{
Control.AutocapitalizationType = UITextAutocapitalizationType.None;

Binary file not shown.

After

Width:  |  Height:  |  Size: 374 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 629 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 884 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 468 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 789 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
src/iOS/Resources/lock.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 359 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 569 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 733 B

BIN
src/iOS/Resources/user.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 425 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 685 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 895 B

View File

@@ -400,6 +400,42 @@
<ItemGroup>
<BundleResource Include="Resources\eye_slash%402x.png" />
</ItemGroup>
<ItemGroup>
<BundleResource Include="Resources\envelope.png" />
</ItemGroup>
<ItemGroup>
<BundleResource Include="Resources\envelope%402x.png" />
</ItemGroup>
<ItemGroup>
<BundleResource Include="Resources\envelope%403x.png" />
</ItemGroup>
<ItemGroup>
<BundleResource Include="Resources\lock%403x.png" />
</ItemGroup>
<ItemGroup>
<BundleResource Include="Resources\lock%402x.png" />
</ItemGroup>
<ItemGroup>
<BundleResource Include="Resources\lock.png" />
</ItemGroup>
<ItemGroup>
<BundleResource Include="Resources\lightbulb-o.png" />
</ItemGroup>
<ItemGroup>
<BundleResource Include="Resources\lightbulb-o%402x.png" />
</ItemGroup>
<ItemGroup>
<BundleResource Include="Resources\lightbulb-o%403x.png" />
</ItemGroup>
<ItemGroup>
<BundleResource Include="Resources\user.png" />
</ItemGroup>
<ItemGroup>
<BundleResource Include="Resources\user%402x.png" />
</ItemGroup>
<ItemGroup>
<BundleResource Include="Resources\user%403x.png" />
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.CSharp.targets" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>