UI: use correct icon/i18n for Face Library on mobile (#17260)

This commit is contained in:
leccelecce 2025-03-19 21:09:35 +00:00 committed by GitHub
parent f4284023fd
commit ca5c714037
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,6 +7,7 @@ import {
LuLogOut, LuLogOut,
LuMoon, LuMoon,
LuSquarePen, LuSquarePen,
LuScanFace,
LuRotateCw, LuRotateCw,
LuSettings, LuSettings,
LuSun, LuSun,
@ -284,10 +285,10 @@ export default function GeneralSettings({ className }: GeneralSettingsProps) {
<Link to="/faces"> <Link to="/faces">
<MenuItem <MenuItem
className="flex w-full items-center p-2 text-sm" className="flex w-full items-center p-2 text-sm"
aria-label="Face Library" aria-label={t("menu.faceLibrary")}
> >
<LuSquarePen className="mr-2 size-4" /> <LuScanFace className="mr-2 size-4" />
<span>Face Library</span> <span>{t("menu.faceLibrary")}</span>
</MenuItem> </MenuItem>
</Link> </Link>
</> </>