fix toast
`Use` is undefined, should be `use`.
This commit is contained in:
parent
e627f950c1
commit
e88989f182
@ -1196,7 +1196,7 @@ TODO
|
||||
// 0 = // https://developer.android.com/reference/android/widget/Toast#LENGTH_LONG
|
||||
Java.scheduleOnMainThread(() => {
|
||||
Java.use("android.widget.Toast")
|
||||
.makeText(Java.use("android.app.ActivityThread").currentApplication().getApplicationContext(), Java.Use("java.lang.StringBuilder").$new("Text to Toast here"), 0).show();
|
||||
.makeText(Java.use("android.app.ActivityThread").currentApplication().getApplicationContext(), Java.use("java.lang.StringBuilder").$new("Text to Toast here"), 0).show();
|
||||
});
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user