Skip to content

Commit 143239a

Browse files
committed
Add wechat binding to PlutoUser
1 parent dc8eaa8 commit 143239a

File tree

1 file changed

+3
-0
lines changed
  • pluto-kotlin-client-sdk/src/main/java/com/mushare/plutosdk

1 file changed

+3
-0
lines changed

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)