Skip to content

Commit

Permalink
Merge pull request #436 from BCSDLab/production
Browse files Browse the repository at this point in the history
Update v4.0.4
  • Loading branch information
hsgo2430 authored Oct 26, 2024
2 parents c460b30 + 33fb448 commit 936e2df
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ buildscript {
}

extra.apply {
set("versionName", "4.0.3")
set("versionCode", 40003)
set("versionName", "4.0.4")
set("versionCode", 40004)
}

dependencies {
Expand Down
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
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import `in`.koreatech.koin.core.analytics.EventExtra
import `in`.koreatech.koin.core.analytics.EventLogger
import `in`.koreatech.koin.core.appbar.AppBarBase
import `in`.koreatech.koin.core.constant.AnalyticsConstant
import `in`.koreatech.koin.core.dialog.ImageZoomableDialog
import `in`.koreatech.koin.core.toast.ToastUtil
import `in`.koreatech.koin.core.util.dataBinding
import `in`.koreatech.koin.databinding.StoreActivityDetailBinding
Expand Down Expand Up @@ -359,6 +360,10 @@ class StoreDetailActivity : KoinNavigationDrawerActivity() {

binding.storeDetailImageview.apply {
adapter = StoreDetailImageViewpagerAdapter(it.imageUrls) {
ImageZoomableDialog(context, it)
.also {
zoomableDialog -> zoomableDialog.show()
}
EventLogger.logClickEvent(
EventAction.BUSINESS,
AnalyticsConstant.Label.SHOP_PICTURE,
Expand Down

0 comments on commit 936e2df

Please sign in to comment.