Skip to content

Commit

Permalink
Merge pull request #81 from team-JMT/fix/webview_bridge
Browse files Browse the repository at this point in the history
Js 메서드 호출 수정
  • Loading branch information
soopeach authored Sep 25, 2023
2 parents d5dea5d + 53673fd commit 39ac0dc
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 39ac0dc

Please sign in to comment.