fix(frontend,backend): storage categories keep one hue in both themes, trash counted in the total, undo keeps the list, larger touch targets

This commit is contained in:
hh committed 2026-10-14 03:18:59 +02:00
1 parent 06ae3e928f
commit 580927da0a
11 files changed
+112 -47

No files matched your search

+3 -3
View File
@@ -42,10 +42,10 @@ export function fileExtension(fileName: string): string {
export function purgeLabel(iso: string): string {
const days = Math.ceil((new Date(iso).getTime() - Date.now()) / DAY_MS);
if (days <= 0) {
return "Удалится сегодня";
return "сегодня";
}
if (days === 1) {
return "Удалится завтра";
return "завтра";
}
return `Удалится через ${days} дн.`;
return `через ${days} дн.`;
}