Skip to content

Commit 0918779

Browse files
Correct a typo and add Kotlin syntax highlighting in README.md (#85)
1 parent 58998ba commit 0918779

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,9 @@ or [submit a PR](https://github.com/bitfireAT/cert4android/pulls) over Github.
7171
5. Close the instance when it's not required anymore (will disconnect from the
7272
`CustomCertService`, thus allowing it to be destroyed).
7373
74-
Example of initialzing an okhttp client:
74+
Example of initializing an okhttp client:
7575
76+
```kotlin
7677
val keyManager = ...
7778
CustomCertManager(...).use { trustManager ->
7879
val sslContext = SSLContext.getInstance("TLS")
@@ -87,7 +88,7 @@ Example of initialzing an okhttp client:
8788
val httpClient = builder.build()
8889
// use httpClient
8990
}
90-
91+
```
9192
9293
You can overwrite resources when you want, just have a look at the `res/strings`
9394
directory. Especially `certificate_notification_connection_security` and

0 commit comments

Comments
 (0)