mirror of
https://github.com/bitwarden/android.git
synced 2024-12-24 18:08:26 +03:00
Fix crash produced when adding a custom field on a Secure Note, because it try to load the control of linked fields even if it's not the type (#1668)
This commit is contained in:
parent
9fdf2ada6f
commit
14d2b833d8
1 changed files with 1 additions and 1 deletions
|
@ -929,7 +929,7 @@ namespace Bit.App.Pages
|
|||
|
||||
public List<KeyValuePair<string, LinkedIdType>> LinkedFieldOptions
|
||||
{
|
||||
get => _cipher.LinkedFieldOptions
|
||||
get => _cipher.LinkedFieldOptions?
|
||||
.Select(kvp => new KeyValuePair<string, LinkedIdType>(_i18nService.T(kvp.Key), kvp.Value))
|
||||
.ToList();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue