Fix bug
This commit is contained in:
parent
dc6a2a682d
commit
ca6ce22dd5
|
|
@ -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.
|
|
@ -1 +1 @@
|
||||||
4698f64899d582ca9986f8c45564dd38
|
de1f015757b7830650e7ee50963a1e0b
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue