1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-11 05:43:30 +00:00

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

View File

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