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 v3.4.3 #293

Merged
merged 148 commits into from
Jun 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
148 commits
Select commit Hold shift + click to select a range
cd9a378
Modify wrong code
ThirFir Apr 15, 2024
c783d20
Add firebase crashlytics buildtools gradle
skdud0629 Apr 16, 2024
5fb0a40
Modify email auth logic
skdud0629 Apr 17, 2024
0f9ab6a
Delete wrong code
skdud0629 Apr 17, 2024
35a1e97
Account set up bug fix
skdud0629 Apr 17, 2024
60aafda
Modify class name
skdud0629 Apr 18, 2024
2ca29a0
Modify isError default value
skdud0629 Apr 18, 2024
cb080ea
Merge remote-tracking branch 'origin/develop' into feature/business_s…
skdud0629 Apr 18, 2024
d4bf783
Change name AccountAuthScreen->EmailAuthScreen
skdud0629 Apr 18, 2024
a6511da
Add email auth side effect
skdud0629 Apr 18, 2024
13d157d
Add email auth usecase
skdud0629 Apr 18, 2024
751e67e
Add email auth viewModel
skdud0629 Apr 18, 2024
b5406df
Add email auth state
skdud0629 Apr 18, 2024
ee86474
Change ACCOUNT_AUTH->EMAIL_AUTH
skdud0629 Apr 18, 2024
c1ebf7a
Delete typography
skdud0629 Apr 18, 2024
0ad0c1a
Delete count down timer function
skdud0629 Apr 18, 2024
4fa2089
Add business auth state
skdud0629 Apr 18, 2024
a5389f9
Add business auth viewmodel
skdud0629 Apr 18, 2024
ca3c076
Add business auth side effect
skdud0629 Apr 18, 2024
d477214
Change business auth logic
skdud0629 Apr 18, 2024
77c8486
Add BusinessAuthState value
skdud0629 Apr 22, 2024
0361eef
Add presignedUrl uploadImage function to BusinessAuthViewModel
skdud0629 Apr 23, 2024
3e911da
Modify upload file logic
skdud0629 Apr 23, 2024
fdcd155
Add TokenLocalDataSource
skdud0629 Apr 23, 2024
1fcfdcd
Add BusinessAuthNetworkModule
skdud0629 Apr 23, 2024
c6350a6
Add OwnerTokenAuthenticator
skdud0629 Apr 23, 2024
3c19e9f
Change value name storeNumber->shopNumber
skdud0629 Apr 23, 2024
3fd2c8c
Add email and password to NavigateToNextScreen data class
skdud0629 Apr 24, 2024
81ef354
Add security-crypto dependency
skdud0629 Apr 24, 2024
1862608
Modify wrong code
skdud0629 Apr 25, 2024
542674c
Merge pull request #238 from BCSDLab/release
ThirFir Apr 25, 2024
09045d8
Modify data type
skdud0629 Apr 30, 2024
8248bb1
Add exception handling for store
skdud0629 Apr 30, 2024
6f5022f
Add search store side effect
skdud0629 Apr 30, 2024
a525ce0
Add search store state
skdud0629 Apr 30, 2024
218f54e
Add search store viewModel
skdud0629 Apr 30, 2024
6ea27db
Add button enable logic
skdud0629 Apr 30, 2024
e942c7b
Modify saveOwnerAccessToken call to use safe call operator
skdud0629 May 1, 2024
05f2cb4
Add uploadFile function to PreSignedUrlRepository
skdud0629 May 1, 2024
466aa3a
Add UploadFileUseCase
skdud0629 May 1, 2024
1992f9c
Add uploadFile function to PreSignedUrlRepositoryImpl
skdud0629 May 1, 2024
49e7c92
Change inputStream to bitmap type
skdud0629 May 1, 2024
6f1f3bc
Modify StoreBottomSheet
skdud0629 May 1, 2024
27ed55f
Modify StoreList
skdud0629 May 1, 2024
09b45b4
Change storeName->shopName
skdud0629 May 1, 2024
5e3c436
Modify Email auth NavigateToNextScreen logic
skdud0629 May 2, 2024
3ca749f
Modify AccountSetup NavigateToNextScreen logic
skdud0629 May 2, 2024
046ed66
Modify BusinessAuth NavigateToNextScreen logic
skdud0629 May 2, 2024
3f7e28d
Modify search store logic
skdud0629 May 2, 2024
64cc4dd
Modify SignupNavigator
skdud0629 May 2, 2024
e260ef1
Merge pull request #250 from BCSDLab/release
ThirFir May 2, 2024
9c579a4
Merge pull request #267 from BCSDLab/release
Jokwanhee May 12, 2024
97d55ef
Merge pull request #272 from BCSDLab/release
ThirFir May 14, 2024
443397f
Add string containment check
skdud0629 May 13, 2024
24e8bad
가게 최초등록 카테고리 선택 UI 완성
hsgo2430 May 15, 2024
e0cf19f
Add resources
skdud0629 May 15, 2024
5ab45d3
Modify LinedTextField
skdud0629 May 15, 2024
ddec66f
Add extension property to validate password
skdud0629 May 15, 2024
4ddb2dd
Modify value email -> phoneNumber
skdud0629 May 15, 2024
5150200
Modify AccountSetupScreen
skdud0629 May 15, 2024
e6c5b1b
Merge pull request #273 from BCSDLab/production
ThirFir May 15, 2024
12cd49f
Modify SearchStore logic
skdud0629 May 15, 2024
a80dea1
Modify SearchStoreScreen
skdud0629 May 15, 2024
8056b62
Modify image resource name
skdud0629 May 15, 2024
45f552c
Delte password check string extension
skdud0629 May 16, 2024
e5dc81a
Add verification sms api
skdud0629 May 17, 2024
972e1f7
Add verification sms repository function
skdud0629 May 17, 2024
8545fdc
Add verification sms code usecase
skdud0629 May 17, 2024
4e219f6
Add business signup check usecase
skdud0629 May 17, 2024
576d43d
Add signup continuation state
skdud0629 May 17, 2024
e985ea2
Add targetSdk
skdud0629 May 17, 2024
b3c70dd
Modify business signup logic
skdud0629 May 17, 2024
09d49dc
Add stirng, image resource
skdud0629 May 17, 2024
362e17b
Modify complete signup screen ui
skdud0629 May 17, 2024
0c105f1
Add complete signup viewModel
skdud0629 May 17, 2024
d08a2b6
Add complete singup sideEffect
skdud0629 May 17, 2024
937c4d1
Modify LiendTextField
skdud0629 May 17, 2024
8c51968
Change BaseViewModel -> ViewModel
skdud0629 May 17, 2024
c91b8d4
Modify business auth screen
skdud0629 May 17, 2024
dc4315b
Change usecase name sendSignupEmailUseCase -> sendSignupSmsCodeUseCase
skdud0629 May 17, 2024
ec2354e
Add string extensions formatBusinessNumber
skdud0629 May 17, 2024
b994bd8
Modify button shape
skdud0629 May 17, 2024
0ecfcb1
Delete email auth screen
skdud0629 May 17, 2024
3cf679d
Add resource
skdud0629 May 17, 2024
4e17c9a
Change icon name
skdud0629 May 17, 2024
9859a65
Add check term screen
skdud0629 May 17, 2024
53232f0
Add check term sideEffect
skdud0629 May 17, 2024
51e4d04
Add check term state
skdud0629 May 17, 2024
fb88cc1
Add check term viewModel
skdud0629 May 17, 2024
96924f3
Modify signup navigator
skdud0629 May 17, 2024
5e24bb9
Modify wrong code
skdud0629 May 17, 2024
162c36c
Add textfield label
skdud0629 May 17, 2024
a585216
Modify wrong code
skdud0629 May 17, 2024
a0b7e2f
Add limit to the number of images
skdud0629 May 18, 2024
917345d
Add business auth error message
skdud0629 May 18, 2024
16db146
Modify textfiled error logic
skdud0629 May 18, 2024
6fc65a7
Merge remote-tracking branch 'origin/develop' into feature/business_s…
skdud0629 May 18, 2024
90d149e
Add SearchTextfield
skdud0629 May 18, 2024
a7aef81
Delete string resources
skdud0629 May 18, 2024
b19253d
Modify business auth sceen
skdud0629 May 18, 2024
4d2ebe4
Change GetStoresUseCase ->SearchStoreViewModel
skdud0629 May 18, 2024
40aac25
Modify search store screen search bar
skdud0629 May 18, 2024
9032369
Modify wrong code
skdud0629 May 18, 2024
79587c4
Add search stores usecase
skdud0629 May 18, 2024
623bf1a
Modify LinedTextField
skdud0629 May 18, 2024
5e0065e
Modfiy viewModelScope
skdud0629 May 18, 2024
66523d4
Update business/src/main/java/in/koreatech/business/feature/signup/bu…
skdud0629 May 18, 2024
059f5b5
사장님 상점등록 기본 정보까지 구현
hsgo2430 May 19, 2024
1d74e51
Modify check term logic
skdud0629 May 19, 2024
f286543
Merge remote-tracking branch 'origin/feature/business_signup' into fe…
skdud0629 May 19, 2024
08fbad5
Modify multiple reduce into one
skdud0629 May 19, 2024
f4f854f
Update business/src/main/java/in/koreatech/business/feature/insertsto…
hsgo2430 May 20, 2024
3608263
1차 피드백 반영
hsgo2430 May 20, 2024
3ccfc79
Merge branch 'feature/hsgo/business_the_first_store_insert' of https:…
hsgo2430 May 20, 2024
03322bf
Delete unnecessary code
skdud0629 May 23, 2024
82ff878
Merge pull request #278 from BCSDLab/feature/hsgo/business_the_first_…
hsgo2430 Jun 2, 2024
7497488
Add PowerSpinner library
nodobi Jun 2, 2024
6ce821a
Change signup major from edittext to spinner
nodobi Jun 2, 2024
d2289a9
Change background of major spinner on Signup
nodobi Jun 2, 2024
8065e8c
Add loading department names logic
nodobi Jun 2, 2024
367d658
Change string resource name of major
nodobi Jun 2, 2024
9a14c0d
Add spinner logic on Signup
nodobi Jun 2, 2024
818091c
Modify exception logic
skdud0629 Jun 5, 2024
15f9c6d
Add error state
skdud0629 Jun 5, 2024
53e4066
Modify wrong event logging
ThirFir Jun 6, 2024
2783eda
Modify button enabled logic
skdud0629 Jun 8, 2024
c4e84dc
Merge remote-tracking branch 'origin/develop' into feature/business_s…
skdud0629 Jun 8, 2024
16061bc
Modify check terms logic
skdud0629 Jun 8, 2024
30a779a
Modify signup ui
skdud0629 Jun 8, 2024
ce44cb6
Add security-crypto dependency
skdud0629 Jun 8, 2024
093228b
Modify TokenLocalDataSource name
skdud0629 Jun 8, 2024
4943e53
Update business/src/main/java/in/koreatech/business/feature/textfield…
skdud0629 Jun 8, 2024
13a89b2
Add ApiMapper
skdud0629 Jun 8, 2024
f4a9c71
Delete unnecessary code
skdud0629 Jun 9, 2024
e68b816
Merge pull request #277 from BCSDLab/feature/business_signup
skdud0629 Jun 9, 2024
5466d5a
Remove log, hardcoded string
nodobi Jun 11, 2024
cb58fca
Merge branch 'develop' into fix/signup_major
nodobi Jun 11, 2024
0bf5b87
Merge pull request #280 from BCSDLab/fix/signup_major
nodobi Jun 11, 2024
e7d2cb3
Set '미운영' menu not visible
ThirFir Jun 11, 2024
37a2e54
Fix scrollable view text cutting issue
ThirFir Jun 11, 2024
7b93a31
Delete unused variable
ThirFir Jun 12, 2024
a5c66d4
Merge branch 'feature/log-event' into feature/dining-detail
ThirFir Jun 12, 2024
a66f08e
Change file name
ThirFir Jun 12, 2024
318c983
Change Usereditinfo major from edittext to spinner
nodobi Jun 13, 2024
03f3d74
Change UpdateStudentUserInfUseCase to receive major from parameter
nodobi Jun 14, 2024
a875ff0
Fix typing error
ThirFir Jun 14, 2024
edb2efb
Merge pull request #286 from BCSDLab/feature/dining-detail
ThirFir Jun 17, 2024
3ddafcf
Merge pull request #288 from BCSDLab/fix/user_info_major
ThirFir Jun 17, 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
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ internal fun Project.configureAndroidHilt(
commonExtension: CommonExtension<*, *, *, *>,
){
dependencies {

implementation(libs.findBundle("hilt").get())
kapt(libs.findLibrary("hilt-compiler").get())
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package `in`.koreatech.convention

import com.android.build.api.dsl.ApplicationExtension
import com.android.build.api.dsl.CommonExtension
import org.gradle.api.JavaVersion
import org.gradle.api.plugins.ExtensionAware
Expand All @@ -9,12 +10,17 @@ import org.jetbrains.kotlin.gradle.dsl.KotlinJvmOptions
internal fun configureAndroidProject(
commonExtension: CommonExtension<*, *, *, *>,
) {
(commonExtension as? ApplicationExtension)?.let {
it.defaultConfig.targetSdk = 34
}

commonExtension.apply {
compileSdk = 34

(this as? ApplicationExtension)?.let {
it.defaultConfig.targetSdk = 34
}
defaultConfig {
minSdk = 23

testInstrumentationRunner = "android.support.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary = true
}
Expand All @@ -28,6 +34,7 @@ internal fun configureAndroidProject(
jvmTarget = JavaVersion.VERSION_11.toString()
}
}

}

fun CommonExtension<*, *, *, *>.kotlinOptions(block: KotlinJvmOptions.() -> Unit) {
Expand Down
10 changes: 8 additions & 2 deletions business/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@ plugins {
android {
namespace = "in.koreatech.business"

packagingOptions {
resources.pickFirsts.add("META-INF/gradle/incremental.annotation.processors")
androidComponents {
onVariants(selector().withBuildType("release")) {
it.packaging.resources.excludes.add("META-INF/**")
}
}
// 2 files found with path 'META-INF/gradle/incremental.annotation.processors' from inputs: 오류 해결

Expand All @@ -34,6 +36,10 @@ dependencies {
implementation(libs.bundles.compose)
implementation(libs.lifecycle.runtime.ktx)
implementation(libs.compose.navigation)
implementation(libs.androidx.security.crypto)
implementation(libs.coil)
implementation(libs.coil.compose)
implementation(libs.androidx.security.crypto)
implementation(project(mapOf("path" to ":domain")))
implementation(project(mapOf("path" to ":data")))
implementation(project(mapOf("path" to ":core")))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.tooling.preview.Preview
import dagger.hilt.android.AndroidEntryPoint
import `in`.koreatech.business.feature.signup.navigator.SignupNavigator
import `in`.koreatech.business.feature_changepassword.navigator.ChangePassword
import `in`.koreatech.business.feature.insertstore.navigator.InsertStoreNavigator
import `in`.koreatech.business.ui.theme.KOIN_ANDROIDTheme

@AndroidEntryPoint
Expand All @@ -27,8 +26,7 @@ class BusinessMainActivity : ComponentActivity() {
modifier = Modifier.fillMaxSize(),
color = MaterialTheme.colors.background
) {
ChangePassword()
//SignupNavigator(modifier = Modifier.fillMaxSize())
InsertStoreNavigator()
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,15 @@ import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.android.qualifiers.ApplicationContext
import dagger.hilt.components.SingletonComponent
import `in`.koreatech.business.util.OwnerTokenAuthenticator
import `in`.koreatech.business.util.RefreshTokenInterceptor
import `in`.koreatech.koin.core.qualifier.Auth
import `in`.koreatech.koin.core.qualifier.OwnerAuth
import `in`.koreatech.koin.core.qualifier.PreSignedUrl
import `in`.koreatech.koin.core.qualifier.Refresh
import `in`.koreatech.koin.core.qualifier.ServerUrl
import `in`.koreatech.koin.data.api.PreSignedUrlApi
import `in`.koreatech.koin.data.api.UploadUrlApi
import `in`.koreatech.koin.data.api.UserApi
import `in`.koreatech.koin.data.api.auth.UserAuthApi
import `in`.koreatech.koin.data.source.local.TokenLocalDataSource
Expand Down Expand Up @@ -90,7 +95,122 @@ object AuthNetworkModule {
@Singleton
fun provideUserAuthApi(
@Auth retrofit: Retrofit
) : UserAuthApi {
): UserAuthApi {
return retrofit.create(UserAuthApi::class.java)
}

}


@Module
@InstallIn(SingletonComponent::class)
object BusinessAuthNetworkModule {
@OwnerAuth
@Provides
@Singleton
fun provideOwnerAuthInterceptor(
tokenLocalDataSource: TokenLocalDataSource
): Interceptor {
return Interceptor { chain: Interceptor.Chain ->
runBlocking {
val ownerAccessToken = tokenLocalDataSource.getOwnerAccessToken() ?: ""
val newRequest: Request = chain.request().newBuilder()
.addHeader("Authorization", "Bearer $ownerAccessToken")
.build()
chain.proceed(newRequest)
}
}
}

@OwnerAuth
@Provides
@Singleton
fun provideTokenAuthenticator(
@ApplicationContext applicationContext: Context,
tokenLocalDataSource: TokenLocalDataSource
) = OwnerTokenAuthenticator(applicationContext, tokenLocalDataSource)

@OwnerAuth
@Provides
@Singleton
fun provideOwnerAuthOkHttpClient(
httpLoggingInterceptor: HttpLoggingInterceptor,
@OwnerAuth ownerAuthInterceptor: Interceptor,
@OwnerAuth tokenAuthenticator: OwnerTokenAuthenticator
): OkHttpClient {
return OkHttpClient.Builder().apply {
connectTimeout(10, TimeUnit.SECONDS)
readTimeout(30, TimeUnit.SECONDS)
writeTimeout(15, TimeUnit.SECONDS)
addInterceptor(httpLoggingInterceptor)
addInterceptor(ownerAuthInterceptor)
authenticator(tokenAuthenticator)
}.build()
}

@OwnerAuth
@Provides
@Singleton
fun provideOwnerAuthRetrofit(
@ServerUrl baseUrl: String,
@OwnerAuth ownerOkHttpClient: OkHttpClient
): Retrofit {
return Retrofit.Builder()
.client(ownerOkHttpClient)
.baseUrl(baseUrl)
.addConverterFactory(GsonConverterFactory.create())
.build()
}

@Provides
@Singleton
fun provideUploadUrlApi(
@OwnerAuth retrofit: Retrofit
): UploadUrlApi {
return retrofit.create(UploadUrlApi::class.java)
}
}




@Module
@InstallIn(SingletonComponent::class)
object PreSignedUrlNetworkModule {
@PreSignedUrl
@Provides
@Singleton
fun provideOwnerAuthOkHttpClient(
httpLoggingInterceptor: HttpLoggingInterceptor
): OkHttpClient {
return OkHttpClient.Builder().apply {
connectTimeout(10, TimeUnit.SECONDS)
readTimeout(30, TimeUnit.SECONDS)
writeTimeout(15, TimeUnit.SECONDS)
addInterceptor(httpLoggingInterceptor)
}.build()
}

@Provides
@Singleton
@PreSignedUrl
fun providePreSignedUrlRetrofit(): Retrofit {
return Retrofit.Builder()
.baseUrl("https://kap-test.s3.ap-northeast-2.amazonaws.com/")
.client(
OkHttpClient.Builder().addInterceptor(
HttpLoggingInterceptor().apply {
level = HttpLoggingInterceptor.Level.HEADERS
}
).build()
).build()
}

@Provides
@Singleton
fun provideUploadUrlApi(
@PreSignedUrl retrofit: Retrofit
): PreSignedUrlApi {
return retrofit.create(PreSignedUrlApi::class.java)
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
package `in`.koreatech.business.feature.insertstore.insertdetailinfo

import androidx.compose.foundation.layout.Column
import androidx.compose.material.Text
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.tooling.preview.Preview
import androidx.hilt.navigation.compose.hiltViewModel
import `in`.koreatech.koin.domain.model.owner.insertstore.StoreBasicInfo
import org.orbitmvi.orbit.compose.collectAsState

@Composable
fun InsertDetailInfoScreen(
modifier: Modifier = Modifier,
onBackPress: () -> Unit,
stroeBasicInfo: StoreBasicInfo = StoreBasicInfo(),
viewModel: InsertDetailInfoScreenViewModel = hiltViewModel()
) {
val state = viewModel.collectAsState().value
InsertDetailInfoScreenImpl(
storeNumber = state.storeAddress
)
}


@Composable
fun InsertDetailInfoScreenImpl(
modifier: Modifier = Modifier,
storeNumber: String = ""
) {
Column(
modifier = modifier
) {
Text(
text = storeNumber
)
}
}

@Preview
@Composable
fun PreviewInsertDetailInfoScreen(){
InsertDetailInfoScreenImpl()
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package `in`.koreatech.business.feature.insertstore.insertdetailinfo

import `in`.koreatech.business.feature.insertstore.insertmaininfo.InsertBasicInfoScreenSideEffect

sealed class InsertDetailInfoScreenSideEffect {

data class ShowMessage(val type: DetailInfoErrorType): InsertDetailInfoScreenSideEffect()

data class NavigateToInsertDetailInfoScreen(val storeBasicInfo: InsertDetailInfoScreenSideEffect) : InsertDetailInfoScreenSideEffect()
}

enum class DetailInfoErrorType {
NullStoreName,
NullStoreAddress,
NullStoreImage
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package `in`.koreatech.business.feature.insertstore.insertdetailinfo

import android.net.Uri
import android.os.Parcelable
import kotlinx.parcelize.Parcelize

@Parcelize
data class InsertDetailInfoScreenState (
val storeCategory: Int = -1,
val storeName: String = "",
val storeAddress: String = "",
val storeImage: Uri = Uri.EMPTY
): Parcelable
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
package `in`.koreatech.business.feature.insertstore.insertdetailinfo

import android.net.Uri
import android.util.Log
import androidx.lifecycle.SavedStateHandle
import androidx.lifecycle.ViewModel
import com.google.gson.Gson
import dagger.hilt.android.lifecycle.HiltViewModel
import `in`.koreatech.business.feature.insertstore.insertmaininfo.InsertBasicInfoScreenState
import `in`.koreatech.koin.domain.model.owner.insertstore.StoreBasicInfo
import kotlinx.android.parcel.Parcelize
import org.orbitmvi.orbit.Container
import org.orbitmvi.orbit.ContainerHost
import org.orbitmvi.orbit.syntax.simple.intent
import org.orbitmvi.orbit.syntax.simple.reduce
import org.orbitmvi.orbit.viewmodel.container
import javax.inject.Inject

@HiltViewModel
class InsertDetailInfoScreenViewModel @Inject constructor(
savedStateHandle: SavedStateHandle
): ViewModel(), ContainerHost<InsertDetailInfoScreenState, InsertDetailInfoScreenSideEffect> {
override val container: Container<InsertDetailInfoScreenState, InsertDetailInfoScreenSideEffect> =
container(InsertDetailInfoScreenState(), savedStateHandle = savedStateHandle) {

val storeBasicInfoJson: InsertBasicInfoScreenState? = savedStateHandle.get<InsertBasicInfoScreenState>("storeBasicInfo")
checkNotNull(storeBasicInfoJson)
getStoreBasicInfo(storeBasicInfoJson)
}


private fun getStoreBasicInfo(storeBasicInfo: InsertBasicInfoScreenState){
intent{
reduce {
state.copy(
storeCategory = storeBasicInfo.storeCategory,
storeName = storeBasicInfo.storeName,
storeAddress = storeBasicInfo.storeAddress,
storeImage = storeBasicInfo.storeImage
)
}
}
}
}
Loading
Loading