Skip to content

Commit

Permalink
Add jvm overloads (#91)
Browse files Browse the repository at this point in the history
* Add Jvm overloads

* Some refactoring
  • Loading branch information
DHosseiny authored Nov 12, 2023
1 parent 082df4d commit 00238f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion poolakey/src/main/java/ir/cafebazaar/poolakey/Payment.kt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import ir.cafebazaar.poolakey.thread.PoolakeyThread

class Payment(
context: Context,
private val config: PaymentConfiguration
config: PaymentConfiguration
) {

private val backgroundThread: PoolakeyThread<Runnable> = BackgroundThread()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package ir.cafebazaar.poolakey.config

data class PaymentConfiguration(
data class PaymentConfiguration @JvmOverloads constructor(
val localSecurityCheck: SecurityCheck,
val shouldSupportSubscription: Boolean = true
)
)

0 comments on commit 00238f5

Please sign in to comment.