Skip to content

Commit

Permalink
[fix] #282 일정등록 2번째 뷰 불러오기 버튼 삭제 및 오타 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
t1nm1ksun committed Oct 29, 2024
1 parent 2c3aaf4 commit b29b685
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 17 deletions.
2 changes: 2 additions & 0 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,11 @@ dependencies {
implementation(libs.bundles.androidx)
implementation(platform(libs.androidx.compose.bom))


// Google
implementation(platform(libs.google.firebase.bom))
implementation(libs.google.firebase.crashlytics)
implementation(libs.firebase.crashlytics.buildtools)

// Network
implementation(platform(libs.okhttp.bom))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -391,21 +391,23 @@ fun EnrollScreen(
leftIconResource = R.drawable.ic_top_bar_back_white,
onLeftIconClick = onTopBarBackButtonClick,
buttonContent = {
Row {
DateRoadFilledButton(
isEnabled = true,
textContent = stringResource(id = R.string.top_bar_button_text_load),
onClick = onTopBarLoadButtonClick,
textStyle = DateRoadTheme.typography.bodyMed13,
enabledBackgroundColor = DateRoadTheme.colors.purple600,
enabledTextColor = DateRoadTheme.colors.white,
disabledBackgroundColor = DateRoadTheme.colors.gray200,
disabledTextColor = DateRoadTheme.colors.gray400,
cornerRadius = 20.dp,
paddingHorizontal = 10.dp,
paddingVertical = 5.dp
)
Spacer(modifier = Modifier.width(16.dp))
if (enrollUiState.page == EnrollScreenType.FIRST) {
Row {
DateRoadFilledButton(
isEnabled = true,
textContent = stringResource(id = R.string.top_bar_button_text_load),
onClick = onTopBarLoadButtonClick,
textStyle = DateRoadTheme.typography.bodyMed13,
enabledBackgroundColor = DateRoadTheme.colors.purple600,
enabledTextColor = DateRoadTheme.colors.white,
disabledBackgroundColor = DateRoadTheme.colors.gray200,
disabledTextColor = DateRoadTheme.colors.gray400,
cornerRadius = 20.dp,
paddingHorizontal = 10.dp,
paddingVertical = 5.dp
)
Spacer(modifier = Modifier.width(16.dp))
}
}
}
)
Expand Down Expand Up @@ -499,7 +501,7 @@ fun EnrollScreen(
},
titleText = stringResource(id = R.string.region_bottom_sheet_title),
buttonText = stringResource(id = R.string.apply),
onButtonClick = { regoion, area -> onRegionBottomSheetButtonClick(regoion, area) },
onButtonClick = { region, area -> onRegionBottomSheetButtonClick(region, area) },
onDismissRequest = onRegionBottomSheetDismissRequest
)

Expand Down
3 changes: 2 additions & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ pagingCommonAndroid = "3.3.2"
googleServices = "4.4.2"
firebaseCrashlytics = "3.0.2"
firebaseBom = "33.3.0"
firebaseCrashlyticsBuildtools = "3.0.2"

# Accompanist
accompanistPager = "0.25.0"
Expand Down Expand Up @@ -82,6 +83,7 @@ google-services = { group = "com.google.gms", name = "google-services", version.
google-firebase-crashlytics-gradle = { group = "com.google.firebase", name = "firebase-crashlytics-gradle", version.ref = "firebaseCrashlytics" }
google-firebase-bom = { group = "com.google.firebase", name = "firebase-bom", version.ref = "firebaseBom" }
google-firebase-crashlytics = { group = "com.google.firebase", name = "firebase-crashlytics-ktx" }
firebase-crashlytics-buildtools = { group = "com.google.firebase", name = "firebase-crashlytics-buildtools", version.ref = "firebaseCrashlyticsBuildtools" }

# Accompanist
accompanist-pager = { module = "com.google.accompanist:accompanist-pager", version.ref = "accompanistPager" }
Expand Down Expand Up @@ -110,7 +112,6 @@ kakao-cert = { group = "com.kakao.sdk", name = "v2-cert", version.ref = "kakao"
amplitude = { group = "com.amplitude", name = "analytics-android", version.ref = "amplitude" }
lottie-compose = { module = "com.airbnb.android:lottie-compose", version.ref = "lottieCompose" }


[plugins]
android-application = { id = "com.android.application", version.ref = "agp" }
jetbrains-kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
Expand Down

0 comments on commit b29b685

Please sign in to comment.