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

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();