Skip to content

Commit

Permalink
fix: 1 minutes -> 1 minute (#1702)
Browse files Browse the repository at this point in the history
  • Loading branch information
alecdwm authored Nov 19, 2024
1 parent b9a5ebc commit af28a04
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ const AutoLockRow = () => {
const [autoLockMinutes] = useSetting("autoLockMinutes")
const display = useMemo(() => {
if (autoLockMinutes === 0) return t("Disabled")
if (autoLockMinutes === 1) return t("{{minutes}} minute", { minutes: autoLockMinutes })
return t("{{minutes}} minutes", { minutes: autoLockMinutes })
}, [autoLockMinutes, t])

Expand Down

0 comments on commit af28a04

Please sign in to comment.