Skip to content

Commit c8c2e85

Browse files
committed
use CalligraphyContextWrapper#wrap
1 parent 263cfd9 commit c8c2e85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Wrap the Activity Context:
7272
```java
7373
@Override
7474
protected void attachBaseContext(Context newBase) {
75-
super.attachBaseContext(new CalligraphyContextWrapper(newBase));
75+
super.attachBaseContext(CalligraphyContextWrapper.wrap(newBase));
7676
}
7777
```
7878

0 commit comments

Comments
 (0)