首次远程推送
This commit is contained in:
@@ -22,7 +22,7 @@ List<String> lastSevenDateKeys() {
|
||||
int minutesForDate(List<FocusSession> sessions, String key) {
|
||||
return sessions
|
||||
.where((session) => dateKey(session.completedAt) == key)
|
||||
.fold<int>(0, (total, session) => total + session.minutes);
|
||||
.fold<int>(0, (total, session) => total + session.actualMinutes);
|
||||
}
|
||||
|
||||
int currentStreak(
|
||||
|
||||
Reference in New Issue
Block a user