Skip to content

Commit

Permalink
Spotless Apply
Browse files Browse the repository at this point in the history
  • Loading branch information
l2hyunwoo committed Feb 4, 2024
1 parent 5a23d2c commit 5a801ec
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package com.teampophory.pophory.feature.home.model

enum class RegisterNavigationType {
PICKER, QR, GALLERY;
PICKER, QR, GALLERY
}
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ class AddPhotoActivity : AppCompatActivity() {
context: Context,
imageUri: String,
albumItem: AlbumItem,
type: String
type: String,
): Intent =
Intent(context, AddPhotoActivity::class.java).apply {
putExtra(IMAGE_URL_EXTRA, imageUri)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ import com.teampophory.pophory.common.time.systemNow
import com.teampophory.pophory.data.model.photo.Studio
import com.teampophory.pophory.domain.model.S3Image
import com.teampophory.pophory.domain.repository.photo.PhotoRepository
import com.teampophory.pophory.feature.home.model.RegisterNavigationType
import com.teampophory.pophory.feature.home.photo.model.StudioUiModel
import com.teampophory.pophory.feature.home.photo.model.toUiModel
import com.teampophory.pophory.feature.home.store.model.AlbumItem
import com.teampophory.pophory.feature.home.model.RegisterNavigationType
import dagger.hilt.android.lifecycle.HiltViewModel
import kotlinx.coroutines.flow.MutableSharedFlow
import kotlinx.coroutines.flow.MutableStateFlow
Expand Down Expand Up @@ -46,8 +46,8 @@ class AddPhotoViewModel @Inject constructor(
private var currentFileName: String? = null
private val _type = MutableStateFlow(
RegisterNavigationType.valueOf(
savedStateHandle.get<String>("type").orEmpty()
)
savedStateHandle.get<String>("type").orEmpty(),
),
)
val type = _type.asStateFlow()
private val _createdAt = MutableStateFlow(Instant.systemNow().toEpochMilliseconds())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ class StoreFragment : Fragment() {
context = requireContext(),
imageUri = imageUri.toString(),
albumItem = albumItem,
type = "GALLERY"
type = "GALLERY",
).let(albumListAddPhotoLauncher::launch)
}
}
Expand Down

0 comments on commit 5a801ec

Please sign in to comment.