Skip to content

Commit

Permalink
[fix/webview_bridge] Js 메서드 호출 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
dogdduddy committed Sep 25, 2023
1 parent d5dea5d commit 53673fd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,14 @@ class HomeFragment : Fragment() {
{
repeatWhenUiStarted {
binding.webView.loadUrl(
"javascript:setAccessToken(\"${viewModel.getAccessToken()}\")"
"javascript:setAccessToken('${viewModel.getAccessToken()}')"
)
}
},
{
repeatWhenUiStarted {
binding.webView.loadUrl(
"javascript:setUserPosition(${viewModel.setUserPosition()})"
"javascript:setUserPosition('${viewModel.setUserPosition()}')"
)
}
}
Expand Down

0 comments on commit 53673fd

Please sign in to comment.