Skip to content

Commit

Permalink
이미지 URL 메시지 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
Chan3711 committed May 16, 2024
1 parent 39ca273 commit 302ee60
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ class PageActivity : AppCompatActivity() {
}


//val imageUrl = intent.getStringExtra(UrlTestActivity.EXTRA_IMAGE_URL)
val imageUrl = intent.getStringExtra(PaintActivity.IMAGE_URL)

// WebView가 로드되면 이미지를 업로드하는 함수 호출
Expand Down Expand Up @@ -136,8 +135,7 @@ class PageActivity : AppCompatActivity() {
val jsFunction = "uploadImageToEditor('$imageUrl')"
webView.evaluateJavascript(jsFunction, null)
} else {
// 이미지 URL이 null인 경우 처리
Toast.makeText(this, "이미지 URL을 가져올 수 없습니다.", Toast.LENGTH_SHORT).show()

}
}

Expand Down

0 comments on commit 302ee60

Please sign in to comment.