Skip to content

Commit

Permalink
Merge pull request #1380 from Cristi-007/custom_fields_text_fix
Browse files Browse the repository at this point in the history
Fix - custom fields text
  • Loading branch information
perry-mitchell authored Sep 30, 2024
2 parents fc6b2fa + d3c49ee commit 48f9e20
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 48f9e20

Please sign in to comment.