|
|
|
|
@ -23,18 +23,7 @@ namespace Bit.iOS.Core.Renderers
@@ -23,18 +23,7 @@ namespace Bit.iOS.Core.Renderers
|
|
|
|
|
|
|
|
|
|
protected override void OnElementPropertyChanged(object sender, PropertyChangedEventArgs e) |
|
|
|
|
{ |
|
|
|
|
try |
|
|
|
|
{ |
|
|
|
|
base.OnElementPropertyChanged(sender, e); |
|
|
|
|
} |
|
|
|
|
catch (NullReferenceException) |
|
|
|
|
{ |
|
|
|
|
// Do nothing... |
|
|
|
|
// There is an issue on Xamarin Forms which throws a null reference |
|
|
|
|
// https://appcenter.ms/users/kspearrin/apps/bitwarden/crashes/errors/534094859u/overview |
|
|
|
|
// TODO: Maybe something like this https://github.com/matteobortolazzo/HtmlLabelPlugin/pull/113 can be implemented to avoid this |
|
|
|
|
// on html labels. |
|
|
|
|
} |
|
|
|
|
base.OnElementPropertyChanged(sender, e); |
|
|
|
|
|
|
|
|
|
if (e.PropertyName == Label.FontProperty.PropertyName || |
|
|
|
|
e.PropertyName == Label.TextProperty.PropertyName || |
|
|
|
|
|