Skip to content

Commit

Permalink
fix: 복구된 웹뷰 방식 다시 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
hsgo2430 committed Oct 25, 2024
1 parent b083fef commit fab770f
Showing 1 changed file with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 -> {
Expand Down

0 comments on commit fab770f

Please sign in to comment.