diff --git a/ElectronClient/gui/NoteContentPropertiesDialog.tsx b/ElectronClient/gui/NoteContentPropertiesDialog.tsx index 2a48216c6c..c473b9a460 100644 --- a/ElectronClient/gui/NoteContentPropertiesDialog.tsx +++ b/ElectronClient/gui/NoteContentPropertiesDialog.tsx @@ -152,6 +152,8 @@ export default function NoteContentPropertiesDialog(props:NoteContentPropertiesD textAlign: 'center', }; + const readTimeLabel = _('Read time: %s min', formatReadTime(strippedReadTime)); + return (
@@ -164,8 +166,8 @@ export default function NoteContentPropertiesDialog(props:NoteContentPropertiesD {tableBodyComps} -
- {_('Read time: %s min', formatReadTime(strippedReadTime))} +
+ {readTimeLabel}