File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
firebase-auth/src/iosMain/kotlin/dev/gitlive/firebase/auth Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -112,9 +112,9 @@ public actual class AuthResult(internal val ios: FIRAuthDataResult) {
112112 public actual val user: FirebaseUser ?
113113 get() = FirebaseUser (ios.user())
114114 public actual val credential: AuthCredential ?
115- get() = ios.credential?.let { AuthCredential (it) }
115+ get() = ios.credential() ?.let { AuthCredential (it) }
116116 public actual val additionalUserInfo: AdditionalUserInfo ?
117- get() = ios.additionalUserInfo?.let { AdditionalUserInfo (it) }
117+ get() = ios.additionalUserInfo() ?.let { AdditionalUserInfo (it) }
118118}
119119
120120public val AdditionalUserInfo .ios: FIRAdditionalUserInfo get() = ios
@@ -123,11 +123,11 @@ public actual class AdditionalUserInfo(
123123 internal val ios : FIRAdditionalUserInfo ,
124124) {
125125 public actual val providerId: String?
126- get() = ios.providerID
126+ get() = ios.providerID()
127127 public actual val username: String?
128- get() = ios.username
128+ get() = ios.username()
129129 public actual val profile: Map <String , Any ?>?
130- get() = ios.profile
130+ get() = ios.profile()
131131 ?.mapNotNull { (key, value) ->
132132 if (key is NSString && value != null ) {
133133 key.toString() to value
@@ -137,7 +137,7 @@ public actual class AdditionalUserInfo(
137137 }
138138 ?.toMap()
139139 public actual val isNewUser: Boolean
140- get() = ios.newUser
140+ get() = ios.newUser()
141141}
142142
143143public val AuthTokenResult .ios: FIRAuthTokenResult get() = ios
You can’t perform that action at this time.
0 commit comments