Clean code
This commit is contained in:
parent
a60e9dc323
commit
c19fe4bcb9
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue