Skip to content

Commit 5854fae

Browse files
committed
see 05/31 log
1 parent b85761a commit 5854fae

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/ISSUE_TEMPLATE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ A clear and concise description of what the bug is.
77

88
**The version of device: [e.g. API 27]**
99

10-
**The code: **
10+
**The code:**
1111
[e.g.
1212
```java
1313
CrashUtils.init();
1414
```
1515
]
1616

17-
**The stack of crash: **
17+
**The stack of crash:**
1818
[e.g.
1919
```
2020
Caused by: java.lang.NullPointerException: u should init first

utilcode/src/main/java/com/blankj/utilcode/util/ToastUtils.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package com.blankj.utilcode.util;
22

3+
import android.annotation.SuppressLint;
34
import android.content.Context;
45
import android.content.ContextWrapper;
56
import android.graphics.Color;
@@ -238,6 +239,7 @@ private static void show(final String format, final int duration, final Object..
238239

239240
private static void show(final CharSequence text, final int duration) {
240241
HANDLER.post(new Runnable() {
242+
@SuppressLint("ShowToast")
241243
@Override
242244
public void run() {
243245
cancel();

0 commit comments

Comments
 (0)