Clean code
This commit is contained in:
parent
f83f0b53d6
commit
7324892099
|
|
@ -20,7 +20,7 @@ public class Notice extends Spider {
|
|||
@Override
|
||||
public void init(Context context, String extend) {
|
||||
super.init(context, extend);
|
||||
String[] splits = extend.split("#");
|
||||
String[] splits = extend.split(";");
|
||||
String text = splits[0];
|
||||
int duration = splits.length > 1 ? Integer.parseInt(splits[1]) : 30;
|
||||
Init.run(() -> createView(text, duration));
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1 +1 @@
|
|||
00525bd9b7eaf9976bac9fa981c9bcda
|
||||
e18bc0418a1fe5f288275132c9d719b3
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"spider": "https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;00525bd9b7eaf9976bac9fa981c9bcda",
|
||||
"spider": "https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;e18bc0418a1fe5f288275132c9d719b3",
|
||||
"wallpaper": "https://gao.chuqiuyu.tk",
|
||||
"sites": [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"spider": "https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;00525bd9b7eaf9976bac9fa981c9bcda",
|
||||
"spider": "https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;e18bc0418a1fe5f288275132c9d719b3",
|
||||
"wallpaper": "http://饭太硬.ga/深色壁纸/api.php",
|
||||
"sites": [
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue