多语言支持

This commit is contained in:
ytc1012
2025-11-24 14:01:01 +08:00
parent bf21dba275
commit 57ef852863
32 changed files with 5255 additions and 36 deletions

View File

@@ -63,6 +63,11 @@ class StorageService {
.length;
}
/// Get total sessions count for today (including stopped early)
int getTodaySessionsCount() {
return getTodaySessions().length;
}
/// Delete a focus session
Future<void> deleteSession(FocusSession session) async {
await session.delete();