Skip to content

Commit b271d85

Browse files
authored
Merge pull request #19 from MuShare/develop/wechat
Add wechat binding to PlutoUser
2 parents 218d600 + 317646b commit b271d85

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

pluto-kotlin-client-sdk/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ apply plugin: 'kotlin-android-extensions'
44
apply plugin: 'maven-publish'
55

66
buildscript {
7-
ext.versionCode = 15
8-
ext.versionName = '0.7'
7+
ext.versionCode = 16
8+
ext.versionName = '0.7.1'
99
}
1010

1111
android {

pluto-kotlin-client-sdk/src/main/java/com/mushare/plutosdk/PlutoUser.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,8 @@ data class PlutoUser(
4646

4747
val google: Binding?
4848
get() = bindings.firstOrNull { it.loginType == Pluto.LoginType.GOOGLE }
49+
50+
val wechat: Binding?
51+
get() = bindings.firstOrNull { it.loginType == Pluto.LoginType.WECHAT }
4952
}
5053

0 commit comments

Comments
 (0)