Fix crash from SelectableLabelRenderer (#1570)

This commit is contained in:
Jake Fink 2021-10-08 13:14:23 -04:00 committed by GitHub
parent 69650a1ab5
commit 3eec349038
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -17,6 +17,11 @@ namespace Bit.iOS.Core.Renderers
{
base.OnElementChanged(e);
if (e.OldElement != null || Element == null)
{
return;
}
if (Control == null)
{
uiTextView = new UITextView();