From fab770f19ff4139e6304ae76410beee7c3cf5e46 Mon Sep 17 00:00:00 2001 From: hsgo2430 Date: Fri, 25 Oct 2024 13:13:13 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EB=B3=B5=EA=B5=AC=EB=90=9C=20=EC=9B=B9?= =?UTF-8?q?=EB=B7=B0=20=EB=B0=A9=EC=8B=9D=20=EB=8B=A4=EC=8B=9C=20=EC=82=AD?= =?UTF-8?q?=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ui/navigation/KoinNavigationDrawerActivity.kt | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/koin/src/main/java/in/koreatech/koin/ui/navigation/KoinNavigationDrawerActivity.kt b/koin/src/main/java/in/koreatech/koin/ui/navigation/KoinNavigationDrawerActivity.kt index 8b8359152..d2a6db21d 100644 --- a/koin/src/main/java/in/koreatech/koin/ui/navigation/KoinNavigationDrawerActivity.kt +++ b/koin/src/main/java/in/koreatech/koin/ui/navigation/KoinNavigationDrawerActivity.kt @@ -162,13 +162,11 @@ abstract class KoinNavigationDrawerActivity : ActivityBase(), view.setOnClickListener { when (state) { MenuState.Owner -> { - Intent(this, WebViewActivity::class.java).apply { - putExtra( - "url", - if (BuildConfig.IS_DEBUG) URLConstant.OWNER_URL_STAGE - else URLConstant.OWNER_URL_PRODUCTION - ) - }.run(::startActivity) + val intent = Intent( + Intent.ACTION_VIEW, + if(BuildConfig.IS_DEBUG) Uri.parse(URLConstant.OWNER_URL_STAGE) else Uri.parse(URLConstant.OWNER_URL_PRODUCTION) + ) + startActivity(intent) } else -> {