feat:更新主题色兼容

This commit is contained in:
2025-11-21 14:58:11 +08:00
parent 3ea162f33e
commit f133e5ce13
11 changed files with 112 additions and 75 deletions

View File

@@ -16,3 +16,9 @@ bool isToday(DateTime? date) {
date.month == now.month &&
date.day == now.day;
}
bool isAfterToday(DateTime? date) {
if (date == null) return false;
return date.isAfter(DateTime.now());
}