Skip to content

Commit

Permalink
make KCEFClient constructor public (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
bulletjet786 authored Apr 20, 2024
1 parent 0a32217 commit 241a248
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ The above methods may throw a `CefException`, you can use the nullable equivalen
if (initialized) {
KCEFClient client = KCEF.newClientOrNullBlocking(throwable -> {
if (throwable != null) {
throwable.printStackTrace()
throwable.printStackTrace();
}
});
}
Expand All @@ -181,7 +181,7 @@ if (initialized) {
/** Should be called in a new Thread */
KCEFClient client = KCEF.newClientOrNullBlocking(throwable -> {
if (throwable != null) {
throwable.printStackTrace()
throwable.printStackTrace();
}
});
```
Expand Down
2 changes: 1 addition & 1 deletion kcef/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ tasks.dokkaHtmlPartial {
mavenPublishing {
publishToMavenCentral(host = SonatypeHost.S01, automaticRelease = true)
signAllPublications()
coordinates("dev.datlag", "kcef", "2024.01.07.1")
coordinates("dev.datlag", "kcef", "2024.01.07.2")

pom {
name.set(project.name)
Expand Down
2 changes: 1 addition & 1 deletion kcef/src/main/kotlin/dev/datlag/kcef/KCEFClient.kt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import org.cef.handler.*
/**
* Class that can create a [KCEFBrowser] instance and inherits the default [CefClient] methods.
*/
class KCEFClient internal constructor(
class KCEFClient constructor(
private val client: CefClient
) : CefContextMenuHandler by client,
CefDialogHandler by client,
Expand Down

0 comments on commit 241a248

Please sign in to comment.