Skip to content

Commit

Permalink
[AN/USER] 리팩토링 후 남아있는 ui model 모두 제거 (#421) (#422)
Browse files Browse the repository at this point in the history
* refactor: 티켓 코드 uiModel 제거

* refactor: 티켓 ui model 제거

* refactor: 유저 정보 ui model 제거

* refactor: 스테이지 ui model 제거

* refactor: 예약 ui model 제거
  • Loading branch information
re4rk authored and BGuga committed Oct 17, 2023
1 parent 9537bcb commit 3d81e44
Show file tree
Hide file tree
Showing 14 changed files with 1 addition and 152 deletions.
Empty file.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import androidx.activity.viewModels
import androidx.appcompat.app.AppCompatActivity
import androidx.core.content.res.ResourcesCompat
import com.festago.festago.databinding.ActivityTicketEntryBinding
import com.festago.festago.presentation.mapper.toPresentation
import com.festago.festago.presentation.ui.FestagoViewModelFactory
import com.google.zxing.BarcodeFormat
import com.journeyapps.barcodescanner.BarcodeEncoder
Expand Down Expand Up @@ -66,7 +65,7 @@ class TicketEntryActivity : AppCompatActivity() {

private fun handleSuccess(uiState: TicketEntryUiState.Success) {
binding.successState = uiState
val ticketCode = uiState.ticketCode.toPresentation()
val ticketCode = uiState.ticketCode

val bitmap = BarcodeEncoder().encodeBitmap(
ticketCode.code,
Expand Down

0 comments on commit 3d81e44

Please sign in to comment.