Skip to content

Commit

Permalink
Merge pull request #19 from MuShare/develop/wechat
Browse files Browse the repository at this point in the history
Add wechat binding to PlutoUser
  • Loading branch information
lm2343635 authored Dec 14, 2020
2 parents 218d600 + 317646b commit b271d85
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pluto-kotlin-client-sdk/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ apply plugin: 'kotlin-android-extensions'
apply plugin: 'maven-publish'

buildscript {
ext.versionCode = 15
ext.versionName = '0.7'
ext.versionCode = 16
ext.versionName = '0.7.1'
}

android {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,8 @@ data class PlutoUser(

val google: Binding?
get() = bindings.firstOrNull { it.loginType == Pluto.LoginType.GOOGLE }

val wechat: Binding?
get() = bindings.firstOrNull { it.loginType == Pluto.LoginType.WECHAT }
}

0 comments on commit b271d85

Please sign in to comment.