From 302ee6082520bd6f2de8cf02e8dd4bbc0f758f1a Mon Sep 17 00:00:00 2001 From: Ko SeongChan Date: Thu, 16 May 2024 13:29:00 +0900 Subject: [PATCH] =?UTF-8?q?=EC=9D=B4=EB=AF=B8=EC=A7=80=20URL=20=EB=A9=94?= =?UTF-8?q?=EC=8B=9C=EC=A7=80=20=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../app/src/main/java/com/example/sharenote/PageActivity.kt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/android/app/src/main/java/com/example/sharenote/PageActivity.kt b/android/app/src/main/java/com/example/sharenote/PageActivity.kt index 1733cf68..5d2fe191 100644 --- a/android/app/src/main/java/com/example/sharenote/PageActivity.kt +++ b/android/app/src/main/java/com/example/sharenote/PageActivity.kt @@ -77,7 +77,6 @@ class PageActivity : AppCompatActivity() { } - //val imageUrl = intent.getStringExtra(UrlTestActivity.EXTRA_IMAGE_URL) val imageUrl = intent.getStringExtra(PaintActivity.IMAGE_URL) // WebView가 로드되면 이미지를 업로드하는 함수 호출 @@ -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() + } }