fix: correct log cleanup day mapping and update logging level #4434

This commit is contained in:
Tunglies
2025-08-18 19:12:53 +08:00
parent 7fe0381850
commit 85a9f6c8d4
4 changed files with 10 additions and 6 deletions

View File

@@ -2,13 +2,13 @@ import { forwardRef, useImperativeHandle, useState } from "react";
import { useLockFn } from "ahooks";
import { useTranslation } from "react-i18next";
import {
InputAdornment,
List,
ListItem,
ListItemText,
MenuItem,
Select,
TextField,
InputAdornment,
} from "@mui/material";
import { useVerge } from "@/hooks/use-verge";
import { BaseDialog, DialogRef, Switch } from "@/components/base";
@@ -185,6 +185,7 @@ export const MiscViewer = forwardRef<DialogRef>((props, ref) => {
}))
}
>
{/* 1: 1天, 2: 7天, 3: 30天, 4: 90天*/}
{[
{ key: t("Never Clean"), value: 0 },
{ key: t("Retain _n Days", { n: 1 }), value: 1 },