Skip to content

Commit

Permalink
Fix - custom fields text
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristi-007 committed Sep 17, 2024
1 parent fc6b2fa commit d3c49ee
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion source/main/library/build.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// This file updated automatically: changes made here will be overwritten!

export const VERSION = "2.28.0";
export const VERSION = "2.28.1";
12 changes: 8 additions & 4 deletions source/renderer/components/vault/EntryDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,18 +53,22 @@ const FIELD_TYPE_OPTIONS: Array<{
icon: IconName | MaybeElement;
type: EntryPropertyValueType;
}> = [
{ type: EntryPropertyValueType.Text, i18nKey: "custom-fields.field-type.text", icon: "italic" },
{ type: EntryPropertyValueType.Text,
i18nKey: "vault-ui.custom-fields.field-type.text",
icon: "italic" },
{
type: EntryPropertyValueType.Note,
i18nKey: "custom-fields.field-type.note",
i18nKey: "vault-ui.custom-fields.field-type.note",
icon: "align-left"
},
{
type: EntryPropertyValueType.Password,
i18nKey: "custom-fields.field-type.password",
i18nKey: "vault-ui.custom-fields.field-type.password",
icon: "key"
},
{ type: EntryPropertyValueType.OTP, i18nKey: "custom-fields.field-type.otp", icon: "time" }
{ type: EntryPropertyValueType.OTP,
i18nKey: "vault-ui.custom-fields.field-type.otp",
icon: "time" }
];

function iconName(mimeType) {
Expand Down

0 comments on commit d3c49ee

Please sign in to comment.