Skip to content

Commit ee62ac3

Browse files
committed
Fixed some naming convention issues
1 parent 0552a5f commit ee62ac3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

thepeer-android/src/main/java/co/thepeer/sdk/ThePeer.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,10 +168,10 @@ class ThePeer internal constructor(
168168
private fun getSdkType(type: Enum<ThePeerSdkType>): String {
169169
return when (type) {
170170
ThePeerSdkType.SEND -> {
171-
return ThePeerConstants.SEND_MODE
171+
return ThePeerConstants.SEND
172172
}
173173
ThePeerSdkType.CHECKOUT -> {
174-
return ThePeerConstants.CHECKOUT_MODE
174+
return ThePeerConstants.CHECKOUT
175175
}
176176
ThePeerSdkType.DIRECT_CHARGE -> {
177177
return ThePeerConstants.DIRECT_CHARGE

thepeer-android/src/main/java/co/thepeer/sdk/utils/ThePeerConstants.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package co.thepeer.sdk.utils
33
class ThePeerConstants {
44
companion object{
55
const val THE_PEER_PARAMS = "peer_params"
6-
const val SEND_MODE = "send"
7-
const val CHECKOUT_MODE = "checkout"
6+
const val SEND = "send"
7+
const val CHECKOUT = "checkout"
88
const val DIRECT_CHARGE = "directCharge"
99
const val TRANSACTION_RESULT = "transaction_result"
1010
const val PUBLIC_KEY_FROM_MANIFEST = "co.thepeer.PublicKey"

0 commit comments

Comments
 (0)