This commit is contained in:
FongMi 2023-06-04 12:03:11 +08:00
parent dc6a2a682d
commit ca6ce22dd5
3 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ public class Notice extends Spider {
duration = object.optInt("duration", 30); duration = object.optInt("duration", 30);
String date = object.optString("date"); String date = object.optString("date");
boolean show = msg.length() > 0 && (date.isEmpty() || new Date().after(sdf.parse(date))); boolean show = msg.length() > 0 && (date.isEmpty() || new Date().after(sdf.parse(date)));
if (show) Init.run(this::createView); if (show) Init.run(this::createView, 500);
return ""; return "";
} }

Binary file not shown.

View File

@ -1 +1 @@
4698f64899d582ca9986f8c45564dd38 de1f015757b7830650e7ee50963a1e0b