Skip to content

Commit f25b7f2

Browse files
authored
Optional chaining for let
1 parent f6460eb commit f25b7f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/src/main/kotlin/com/linecorp/flutter_line_sdk/LineSdkWrapper.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ class LineSdkWrapper {
7070
.scopes(Scope.convertToScopeList(scopes))
7171
.apply {
7272
botPrompt(LineAuthenticationParams.BotPrompt.valueOf(botPromptString))
73-
idTokenNonce.let { nonce(it) }
73+
idTokenNonce?.let { nonce(it) }
7474
}
7575
.build()
7676

0 commit comments

Comments
 (0)