feat:更新主题色兼容
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user