mirror of
https://github.com/bitwarden/mobile
synced 2025-12-05 23:53:33 +00:00
PM-3349 MAUI - Android - Fix crash on converter
This commit is contained in:
@@ -12,7 +12,7 @@ namespace Bit.App.Utilities
|
||||
public object Convert(object value, Type targetType, object parameter,
|
||||
System.Globalization.CultureInfo culture)
|
||||
{
|
||||
return EnumHelper.GetLocalizedValue(value, value.GetType());
|
||||
return value != null ? EnumHelper.GetLocalizedValue(value, value.GetType()) : string.Empty;
|
||||
}
|
||||
|
||||
public object ConvertBack(object value, Type targetType, object parameter,
|
||||
|
||||
Reference in New Issue
Block a user