Skip to content

Commit

Permalink
[ADD/#264] my page version
Browse files Browse the repository at this point in the history
  • Loading branch information
leeeyubin committed Sep 27, 2024
1 parent 733f053 commit 6c11a7e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
1 change: 0 additions & 1 deletion app/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import com.android.build.gradle.internal.cxx.configure.gradleLocalProperties
import java.util.Properties

plugins {
Expand Down
6 changes: 4 additions & 2 deletions feature/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ android {

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles("consumer-rules.pro")

buildConfigField("String", "VERSION_NAME", "\"${libs.versions.versionName.get()}\"")
}

buildTypes {
Expand Down Expand Up @@ -92,8 +94,8 @@ dependencies {
implementation(libs.lottie)
implementation(libs.process.phoenix)
implementation(libs.accompanist.systemuicontroller)
implementation (libs.androidx.core.splashscreen)
implementation (libs.androidx.browser)
implementation(libs.androidx.core.splashscreen)
implementation(libs.androidx.browser)

// Compose Preview
implementation(libs.compose.ui.tooling)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ import com.terning.core.designsystem.theme.White
import com.terning.core.extension.noRippleClickable
import com.terning.core.extension.toast
import com.terning.core.state.UiState
import com.terning.feature.BuildConfig
import com.terning.feature.R
import com.terning.feature.main.MainActivity
import com.terning.feature.mypage.component.MyPageProfile
Expand All @@ -55,7 +56,6 @@ import com.terning.feature.mypage.mypage.util.MyPageDefaults.NOTICE_URL
import com.terning.feature.mypage.mypage.util.MyPageDefaults.OPINION_URL
import com.terning.feature.mypage.mypage.util.MyPageDefaults.PERSONAL_URL
import com.terning.feature.mypage.mypage.util.MyPageDefaults.SERVICE_URL
import com.terning.feature.mypage.mypage.util.MyPageDefaults.VERSION

@Composable
fun MyPageRoute(
Expand Down Expand Up @@ -386,7 +386,7 @@ fun ServiceInfo(
)
MyPageItem(
text = stringResource(id = R.string.my_page_version),
version = VERSION,
version = BuildConfig.VERSION_NAME,
icon = R.drawable.ic_my_page_version
)
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package com.terning.feature.mypage.mypage.util

object MyPageDefaults {
const val VERSION = "1.1.0"
const val NOTICE_URL =
"https://abundant-quiver-13f.notion.site/Android-49b3cc2390ee4dc389e25a5097736944"
const val OPINION_URL = "https://forms.gle/AaLpVptfg6cATYWa7"
Expand Down

0 comments on commit 6c11a7e

Please sign in to comment.