Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Update] BusinessApp v1.0.1 #467

Merged
merged 152 commits into from
Nov 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
152 commits
Select commit Hold shift + click to select a range
62c2e3f
[fix] StableIcon @Stable 추가
Jokwanhee Nov 1, 2024
6508b8a
[fix] 시간표 radius 하단도 추가
Jokwanhee Nov 1, 2024
caf0a88
[fix] 클릭 함수 파라미터명 변경
Jokwanhee Nov 1, 2024
c255955
[add] 네비게이션 코드 주석 구현
Jokwanhee Nov 2, 2024
b184e50
[add] compose lifecycle 종속성 추가
Jokwanhee Nov 2, 2024
c6272ac
[add] 테스트 라이브러리 종속성 추가
Jokwanhee Nov 2, 2024
8b55c66
[add] 플로우 테스트 turbine 라이브러리 추가
Jokwanhee Nov 2, 2024
cc5eab4
[add] timetables Datastore 추가
Jokwanhee Nov 2, 2024
f746c0a
[add] frame id 쿼리 파라미터 추가
Jokwanhee Nov 2, 2024
6b8ad1e
[add] 데이터 & 도메인 모델 메퍼 함수 추가
Jokwanhee Nov 2, 2024
5ae0863
[add] 아이콘 추가
Jokwanhee Nov 2, 2024
149c073
[add] 비즈니스 로직 구현
Jokwanhee Nov 2, 2024
63e6cb5
[add] 연산 로직 함수 구현 및 테스트 코드 구현
Jokwanhee Nov 2, 2024
0219fe9
[fix] Lecture 캡슐화 함수 로직 수정
Jokwanhee Nov 2, 2024
a1c7c99
[add] TimetableEventTime 속성 추가 및 수정
Jokwanhee Nov 2, 2024
98b6b1e
[add] TimetableColor 추가 및 더미 데이터 삭제
Jokwanhee Nov 2, 2024
9fd56c5
[fix] 확장 함수 수정
Jokwanhee Nov 2, 2024
9b9b69f
[fix] Department 다이어그램 수정
Jokwanhee Nov 2, 2024
5d403cc
[fix] 코드 수정
Jokwanhee Nov 2, 2024
6b9d4f8
[add] 로딩 바 컴포넌트 추가 및 TimetableScreen 코드 수정
Jokwanhee Nov 2, 2024
cdfc447
[add] UseCase 생성
Jokwanhee Nov 2, 2024
a3f4bdf
[fix] 데이터 클래스 파라미터 수정으로 인한 코드 수정
Jokwanhee Nov 2, 2024
ae837e1
[add] 뷰 모델 구현 및 테스트 코드 작성
Jokwanhee Nov 2, 2024
64e9eff
[add] LectureBox 삭제 아이콘 추가
Jokwanhee Nov 2, 2024
4c95292
[add] TimetableActivity 수정 및 코드 추가
Jokwanhee Nov 2, 2024
1427a0f
[fix] 테스트 코드 수정
Jokwanhee Nov 2, 2024
0abe047
[fix] derivedStateOf 로 수정
Jokwanhee Nov 2, 2024
de554ff
Merge remote-tracking branch 'origin/develop' into feature/timetable_…
Jokwanhee Nov 3, 2024
b7c42e0
[add] 추가된 강의 추가 클릭 리스너 연결
Jokwanhee Nov 3, 2024
142b9b9
[add] lectureId 추가
Jokwanhee Nov 3, 2024
93bb138
[add] GET Frame API 연결
Jokwanhee Nov 3, 2024
014aa0c
[add] 빈 리스트 받더라도 학기 추가
Jokwanhee Nov 3, 2024
95c72c3
[fix] 테스트 코드 주석처리
Jokwanhee Nov 3, 2024
d59c827
fix: 강업 api 적용
hsgo2430 Nov 4, 2024
5e5b37b
fix: 숫자만 필요한 텍스트 필드는 숫자만 입력하도록 변경
hsgo2430 Nov 4, 2024
5327f3f
[add] api 추가 및 연결
Jokwanhee Nov 4, 2024
8e8c91d
[add] 시간표 추가 유즈케이스 구현
Jokwanhee Nov 4, 2024
c8374a6
[add] 시간표 정규 강의 삭제 유즈케이스 구현
Jokwanhee Nov 4, 2024
b2c677b
[add] 시간표 선택 강의 삭제 유즈케이스 구현
Jokwanhee Nov 4, 2024
ee56326
[fix] 학기 유즈케이스 수정
Jokwanhee Nov 4, 2024
4069e30
[fix] lectureId로 변경
Jokwanhee Nov 4, 2024
9256300
[add] TimeEditBox UI 구현
Jokwanhee Nov 4, 2024
12f2b71
[add] TimetableCustomAddBox UI 구현
Jokwanhee Nov 4, 2024
8b77176
[add] TimetableInputField UI 구현
Jokwanhee Nov 4, 2024
08266dd
[add] TimetableTimeContentRow UI 구현
Jokwanhee Nov 4, 2024
75cdf86
[del] 샘플 코드 삭제
Jokwanhee Nov 4, 2024
dd81097
[add] TimetableBottomSheetBasic 섹션 추가
Jokwanhee Nov 4, 2024
aea9b0e
[add] TimetableBottomSheetCustom UI 구현
Jokwanhee Nov 4, 2024
7d40ef6
[add] BottomSheet Custom내부 UI 구현
Jokwanhee Nov 4, 2024
0d65301
[add] TimetableBottomSheetHeader mode 추가
Jokwanhee Nov 4, 2024
84759b9
[fix] TimetableBottomSheet UI 구분
Jokwanhee Nov 4, 2024
7442bbf
[add] 리소스 추가
Jokwanhee Nov 4, 2024
fc1b0c4
[add] 리소스 아이콘 xml 적용
Jokwanhee Nov 4, 2024
56588e1
[add] 클릭 리스너 연결 및 로직 구현
Jokwanhee Nov 4, 2024
15b4f55
[fix] Timetable 뷰모델 기능 구현 및 수정
Jokwanhee Nov 4, 2024
7bc3990
[add] immutable dependency 추가
Jokwanhee Nov 4, 2024
10d8650
[add] 이벤트 트래킹 기능 구현
Jokwanhee Nov 5, 2024
a8ca4c2
[fix] 바텀시트 높이 고정 dp 로 변경
Jokwanhee Nov 5, 2024
786eaad
feature: 사장님 계정 탈퇴 기능 구현
hsgo2430 Nov 5, 2024
8e07ec0
[add] 로그인 시 중복 추가에 대한 로직 준비
Jokwanhee Nov 5, 2024
ab661df
fix: 띄어쓰기
hsgo2430 Nov 5, 2024
d2be18a
[add] contentPadding 추가
Jokwanhee Nov 5, 2024
6a93706
fix: 버그 수정
skdud0629 Nov 5, 2024
de45b89
Add: 버튼 간격
skdud0629 Nov 5, 2024
c701ea5
Add: 버튼 간격
skdud0629 Nov 5, 2024
cf58e4b
Merge pull request #457 from BCSDLab/release
ThirFir Nov 5, 2024
7be619e
Merge pull request #451 from BCSDLab/feature/timetable_api_v1
Jokwanhee Nov 5, 2024
e280bdf
Merge branch 'develop' into feature/timetable_api_v2
Jokwanhee Nov 5, 2024
50eda47
[add] adjustResize 추가
Jokwanhee Nov 5, 2024
0a009a4
Merge pull request #454 from BCSDLab/feature/hsgo/delete_owner
hsgo2430 Nov 5, 2024
929f502
del: sha256
skdud0629 Nov 5, 2024
e0b60e8
Merge pull request #452 from BCSDLab/fix/hsgo/number_keyboard
hsgo2430 Nov 5, 2024
3983c05
fix: 코드 컨벤션
skdud0629 Nov 5, 2024
33c5b98
add: 2.8.3 compose 네비게이션 의존성 및 ktx Serialization
ThirFir Oct 30, 2024
dfa1a46
add: 버스 스크린 상단 UI
ThirFir Oct 31, 2024
7b01d1e
fix: ChipGroup 매개변수 순서 변경
ThirFir Nov 3, 2024
6129d05
add: 셔틀 노선 strings
ThirFir Nov 3, 2024
c51ecbe
add: 셔틀 노선 Route Type
ThirFir Nov 3, 2024
a08cbaf
add: 셔틀 시간표 스크린 상단 칩
ThirFir Nov 3, 2024
b00b48c
add: 셔틀 시간표 화면 base
ThirFir Nov 5, 2024
9ab1b35
add: 하얀 바탕 Surface 컴포넌트
ThirFir Nov 5, 2024
e8b8dbf
add: 읽기 전용 텍스트 칩 컴포넌트
ThirFir Nov 5, 2024
4a1dbb0
fix: TopAppBar 컴포넌트 TextStyle parameter 추가
ThirFir Nov 5, 2024
d828286
add: Bus feature ImmutableList dependency
ThirFir Nov 5, 2024
0d98019
add: 셔틀버스 시간표 첫 화면 추가 (with. 임시 데이터 포맷)
ThirFir Nov 5, 2024
ffe957d
add: BusTimetableViewModel base
ThirFir Nov 5, 2024
7dd9b78
[fix] 함수 오타 수정
Jokwanhee Nov 6, 2024
264916f
[del] LectureQuery 모델 삭제
Jokwanhee Nov 6, 2024
665de6b
[add] textMeasurer 추가
Jokwanhee Nov 6, 2024
321e1b5
[add] IntrinsicSize 추가
Jokwanhee Nov 6, 2024
0f54d66
[add] spaceBy 추가
Jokwanhee Nov 6, 2024
01416d6
Merge pull request #455 from BCSDLab/fix/business-bug
skdud0629 Nov 6, 2024
bd6cb2b
[del] 조건 삭제
Jokwanhee Nov 6, 2024
cc3b9e7
[del] 중복 라이브러리 종속성 삭제
Jokwanhee Nov 6, 2024
dfac521
[add] immutable 종속성 추가
Jokwanhee Nov 6, 2024
015aa0d
[fix] immutableList 추가
Jokwanhee Nov 6, 2024
58e3f46
[del] Row 삭제 후 Spacer 추가
Jokwanhee Nov 6, 2024
cff1b23
Merge pull request #459 from BCSDLab/feature/bus-renewal
ThirFir Nov 6, 2024
3b480f2
AGP 업그레이드 7.2.1 -> 8.7.2
ThirFir Nov 5, 2024
018378b
add: Singleton annotation
ThirFir Nov 6, 2024
1e87075
update firebase cd to java 17
ThirFir Nov 6, 2024
56bd1d7
upgrade hilt version
ThirFir Nov 6, 2024
1ed35ff
Update gradle.properties
ThirFir Nov 6, 2024
d03995c
delete singleton annotation
ThirFir Nov 6, 2024
66ea8e7
Revert "upgrade hilt version"
ThirFir Nov 6, 2024
c5f52a8
add: AndroidEntryPoint
ThirFir Nov 6, 2024
d467ff7
add: AndroidEntryPoint
ThirFir Nov 6, 2024
5b5b59c
Upgrade agp to 8.4.1
ThirFir Nov 6, 2024
610e1f7
Update playstore_cd 자바 17
ThirFir Nov 6, 2024
f5074ab
fix: 0 -> FLAG_IMMUTABLE
ThirFir Nov 6, 2024
1ecadc4
[add] 강의 중복 시 삭제 후 추가
Jokwanhee Nov 7, 2024
42fdaae
Merge pull request #458 from BCSDLab/feature/timetable_api_v2
Jokwanhee Nov 7, 2024
662e7a9
Merge pull request #460 from BCSDLab/feature/upgrade-agp
Jokwanhee Nov 7, 2024
64db231
add: 대성, 시내버스 공통 시간표 뷰
ThirFir Nov 5, 2024
1b0d0ac
add: 대성 시간표 전체 뷰
ThirFir Nov 5, 2024
10bbe6d
fix: 대성, 시내버스 data 형태 동일하므로 데이터 타입을 그에 맞춰 이름 변경
ThirFir Nov 5, 2024
7384776
add: 시내버스 시간표 전체 뷰
ThirFir Nov 5, 2024
082cdc1
add: 시간표 뷰들 탭 연결
ThirFir Nov 5, 2024
519815e
refactor: 임시 데이터 뷰모델로 이동, 시간표 프리뷰 설정
ThirFir Nov 5, 2024
7d5e283
add: 버스 공지 헤드 아이템 뷰 추가
ThirFir Nov 5, 2024
b9750ce
fix: Activity Theme 변경
ThirFir Nov 5, 2024
97ef11d
add: Onboarding 함수 추가
ThirFir Nov 5, 2024
6bf710c
add: 버스 notice 노출 여부 상태
ThirFir Nov 5, 2024
0a9ee58
add: Notice 닫기
ThirFir Nov 5, 2024
c40b4ff
fix: Scope 변경
ThirFir Nov 5, 2024
d29bbce
add: 대성 기점 텍스트 추가
ThirFir Nov 5, 2024
f603d3d
add: 시내버스 "기점", "운행" 텍스트 추가
ThirFir Nov 5, 2024
4f4d9b3
refactor: layout.xml 삭제 및 setContent
ThirFir Nov 6, 2024
620f498
fix: TextChip 리플 패딩
ThirFir Nov 7, 2024
25e5d97
add: Parcelize
ThirFir Nov 7, 2024
2e5b3bd
add: Onboarding flow로직
ThirFir Nov 7, 2024
b53d206
refactor: tab 로직 수정 및 타이틀
ThirFir Nov 7, 2024
7f85df8
refactor: enum: Parcelable
ThirFir Nov 7, 2024
71be2db
add: BusSearchScreen
ThirFir Nov 6, 2024
421dab5
add: Compose ContraintLayout dependency
ThirFir Nov 6, 2024
fed5808
add: ConstraintLayout 적용한 버스 조회 뷰
ThirFir Nov 6, 2024
6b57e45
add: 프리뷰 추가
ThirFir Nov 6, 2024
bbcb542
add: 조회하기 버튼 뷰
ThirFir Nov 6, 2024
0b98fcd
add: 버튼 onClick 임시
ThirFir Nov 6, 2024
d97bcb2
add: 임시 검색 로직
ThirFir Nov 6, 2024
74f101e
add: Button enabled 상태
ThirFir Nov 6, 2024
2b8edeb
add: place 선택 바텀시트
ThirFir Nov 7, 2024
a62d781
chore: 패키지 정리
ThirFir Nov 7, 2024
eff679d
chore: TODO 주석
ThirFir Nov 7, 2024
9a65dc9
chore: 오타
ThirFir Nov 7, 2024
32ff1fc
fix: 빌드
ThirFir Nov 7, 2024
fd91a58
fix: String resource
ThirFir Nov 8, 2024
4d6fd7c
Merge pull request #461 from BCSDLab/feature/bus-renewal
ThirFir Nov 8, 2024
b89b910
Merge branch 'develop' into feature/bus-search
ThirFir Nov 8, 2024
f8b48f9
Merge pull request #462 from BCSDLab/feature/bus-search
ThirFir Nov 8, 2024
852383f
fix: 구글 배포 정책 준수
hsgo2430 Nov 12, 2024
6e8bd83
Merge pull request #465 from BCSDLab/fix/hsgo/google_policy
hsgo2430 Nov 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/firebase_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: set up JDK 11
- name: set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '11'
java-version: '17'

- name: Make gradlew executable
run: chmod +x ./gradlew
Expand Down Expand Up @@ -90,4 +90,4 @@ jobs:
fields: repo,message,commit,author,action,eventName,ref,workflow,job,took
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
if: always()
if: always()
10 changes: 5 additions & 5 deletions .github/workflows/playstore_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: set up JDK 11
- name: set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '11'
java-version: '17'

- name: Make gradlew executable
run: chmod +x ./gradlew
Expand Down Expand Up @@ -88,11 +88,11 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: set up JDK 11
- name: set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '11'
java-version: '17'

- name: Make gradlew executable
run: chmod +x ./gradlew
Expand Down Expand Up @@ -162,4 +162,4 @@ jobs:
fields: repo,message,commit,author,action,eventName,ref,workflow,job,took
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
if: always()
if: always()
4 changes: 2 additions & 2 deletions build-logic/convention/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ plugins {
}

java {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}

dependencies {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import org.gradle.kotlin.dsl.dependencies


internal fun Project.configureAndroidCompose(
commonExtension: CommonExtension<*, *, *, *>,
commonExtension: CommonExtension<*, *, *, *, *, *>,
) {
commonExtension.apply {
buildFeatures.compose = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import org.gradle.api.JavaVersion
import org.gradle.api.Project

internal fun Project.configureAndroidLibrary(
commonExtension: CommonExtension<*, *, *, *>,
commonExtension: CommonExtension<*, *, *, *, *, *>,
) {
(commonExtension as? LibraryExtension)?.let {
it.defaultConfig.targetSdk = 34
Expand All @@ -26,12 +26,12 @@ internal fun Project.configureAndroidLibrary(
}

compileOptions {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}

kotlinOptions {
jvmTarget = JavaVersion.VERSION_11.toString()
jvmTarget = JavaVersion.VERSION_17.toString()
}

packagingOptions {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import org.gradle.api.Project
import org.gradle.kotlin.dsl.dependencies

internal fun Project.configureAndroidOrbit(
commonExtension: CommonExtension<*, *, *, *>
commonExtension: CommonExtension<*, *, *, *, *, *>
){
dependencies {
implementation(libs.findBundle("orbit").get())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import org.jetbrains.kotlin.gradle.dsl.KotlinJvmOptions


internal fun configureAndroidProject(
commonExtension: CommonExtension<*, *, *, *>,
commonExtension: CommonExtension<*, *, *, *, *, *>,
) {
(commonExtension as? ApplicationExtension)?.let {
it.defaultConfig.targetSdk = 34
Expand All @@ -26,17 +26,17 @@ internal fun configureAndroidProject(
}

compileOptions {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}

kotlinOptions {
jvmTarget = JavaVersion.VERSION_11.toString()
jvmTarget = JavaVersion.VERSION_17.toString()
}
}

}

fun CommonExtension<*, *, *, *>.kotlinOptions(block: KotlinJvmOptions.() -> Unit) {
fun CommonExtension<*, *, *, *, *, *>.kotlinOptions(block: KotlinJvmOptions.() -> Unit) {
(this as ExtensionAware).extensions.configure("kotlinOptions", block)
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import org.jetbrains.kotlin.gradle.dsl.KotlinJvmProjectExtension

internal fun Project.configureKotlinJvm() {
extensions.configure<JavaPluginExtension> {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
}
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ buildscript {
set("versionCode", 40005)
// 코인 버전 관리

set("versionBusinessName", "1.0.0")
set("versionBusinessCode", 10000)
set("versionBusinessName", "1.0.1")
set("versionBusinessCode", 1000002)
//코안 사장님 버전 관리
}

Expand Down
102 changes: 88 additions & 14 deletions business/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -1,21 +1,95 @@
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
# By default, the flags in this file are appended to flags specified
# in /Users/namhoonkim/Library/Android/sdk/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.kts.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html

# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
# Add any project specific keep options here:

# Begin: Common Proguard rules
-dontwarn com.google.**
# End: Common Proguard rules

# 에러 발생시 라인 표시
-keepattributes SourceFile,LineNumberTable

# jdk 컴파일할 때 발생하는 오류 메시지 방지
-keepattributes EnclosingMethod

# 최적화 X
-dontoptimize

# 사용하지 않는 변수 남김
-dontshrink

#public 클래스 난독 시 메서드 호출 문제 발생 가능
-keep public class *

# Begin : lib
-keep class com.jakewharton.** { *; }
-keep class com.jpardogo.materialtabstrip.** { *; }
-keep interface com.jakewharton.** { *; }
-keep interface com.jpardogo.materialtabstrip.** { *; }
-keep class com.crashlytics.** { *; }
# End


# Begin : material, androidx
-dontwarn com.google.android.material.**
-keep class com.google.android.material.** { *; }

# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable
-dontwarn androidx.**
-keep class androidx.** { *; }
-keep interface androidx.** { *; }
#End


# Begin: Proguard rules for retrofit2
-dontwarn java.lang.invoke.**
# Platform calls Class.forName on types which do not exist on Android to determine platform.
-dontnote retrofit2.Platform
# Platform used when running on RoboVM on iOS. Will not be used at runtime.
-dontnote retrofit2.Platform$IOS$MainThreadExecutor
# Platform used when running on Java 8 VMs. Will not be used at runtime.
-dontwarn retrofit2.Platform$Java8

# retrofit2 POJO model error
-keepclasseswithmembers class * {
@retrofit2.http.* <methods>;
}
#-keep class com.bcsdlab.kap.community.networks.models.** { *; }
#-keepclassmembers class com.bcsdlab.kap.community.networks.models.** { *; }

# Retain generic type information for use by reflection by converters and adapters.
-keepattributes Signature
# Retain declared checked exceptions for use by a Proxy instance.
-keepattributes Exceptions
# End: Proguard rules for retrofit2

# Begin: Proguard rules for okhttp3
-keep class okhttp3.** { *; }
-keep interface okhttp3.** { *; }
-dontwarn okhttp3.**
-dontwarn okio.**
# End: Proguard rules for okhttp3

# Begin: Proguard rules for Firebase
# Authentication
-keepattributes *Annotation*
# Realtime database
-keepattributes Signature
# End: Proguard rules for Firebase

# Proguard rules for BottomNavigationHelper
#-keepclassmembers class android.support.design.internal.BottomNavigationMenuView {
# boolean mShiftingMode;
#}
-keep class com.kakao.sdk.**.model.* { <fields>; }
-keep class * extends com.google.gson.TypeAdapter
#}

# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
-dontwarn org.jspecify.annotations.NullMarked
-dontwarn top.defaults.checkerboarddrawable.CheckerboardDrawable
Original file line number Diff line number Diff line change
Expand Up @@ -210,9 +210,9 @@ fun ChangePasswordScreen(
color = if (fillAllPasswords && buttonEnabled) Color.White else Gray1
)
}
Spacer(modifier = Modifier.height(20.dp))
}
}

}

@Composable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class ChangePasswordViewModel @Inject constructor(
fillAllPasswords()
}

fun insertPasswordChecked(passwordChecked: String) = intent{
fun insertPasswordChecked(passwordChecked: String) = blockingIntent{
reduce { state.copy(passwordChecked = passwordChecked) }
coincidePasswordReset()
fillAllPasswords()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ fun FinishChangePasswordScreen(
color = Color.White,
)
}
Spacer(modifier = Modifier.height(20.dp))
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.width
import androidx.compose.foundation.layout.widthIn
import androidx.compose.foundation.layout.wrapContentSize
import androidx.compose.foundation.text.KeyboardOptions
import androidx.compose.material.Button
import androidx.compose.material.ButtonDefaults
import androidx.compose.material.ButtonDefaults.buttonColors
Expand All @@ -30,6 +31,7 @@ import androidx.compose.ui.graphics.StrokeCap
import androidx.compose.ui.res.painterResource
import androidx.compose.ui.res.stringResource
import androidx.compose.ui.text.font.FontWeight
import androidx.compose.ui.text.input.KeyboardType
import androidx.compose.ui.text.style.TextAlign
import androidx.compose.ui.tooling.preview.Preview
import androidx.compose.ui.unit.dp
Expand Down Expand Up @@ -194,6 +196,7 @@ fun PasswordAuthenticationScreen(
},
isSuccess = accountState == ChangePasswordContinuationState.SendAuthCode,
successText = stringResource(R.string.success_send_sms_code),
keyboardOptions = KeyboardOptions(keyboardType = KeyboardType.Number)
)

Text(
Expand All @@ -208,12 +211,13 @@ fun PasswordAuthenticationScreen(
horizontalArrangement = Arrangement.SpaceBetween,
) {
LinedTextField(
modifier = Modifier.widthIn(max = 230.dp),
modifier = Modifier.widthIn(max = 220.dp),
value = authCode,
onValueChange = insertAuthCode,
label = stringResource(R.string.input_auth_code),
errorText = stringResource(R.string.auth_code_not_equal),
isError = authState is ChangePasswordContinuationState.Failed,
keyboardOptions = KeyboardOptions(keyboardType = KeyboardType.Number)
)
Spacer(modifier = Modifier.width(8.dp))
Button(
Expand All @@ -222,7 +226,7 @@ fun PasswordAuthenticationScreen(
ColorAccent
) else buttonColors(ColorPrimary),
modifier = modifier
.width(124.dp)
.width(135.dp)
.height(41.dp)
.clickableOnce { }
) {
Expand Down Expand Up @@ -256,6 +260,7 @@ fun PasswordAuthenticationScreen(
fontWeight = FontWeight.Bold
)
}
Spacer(modifier = Modifier.height(20.dp))
}
}
}
Expand Down
Loading
Loading