Skip to content

Commit

Permalink
Merge branch 'develop' into release
Browse files Browse the repository at this point in the history
  • Loading branch information
ldh019 committed Dec 9, 2022
2 parents 115a9f4 + b0fe80b commit c102ae8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion buildSrc/src/main/java/com/gta/buildsrc/Configuration.kt
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ object Configuration {
const val minSdk = 23
const val targetSdk = 33
const val versionCode = 1
const val versionName = "0.2.0"
const val versionName = "0.2.1"
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import com.gta.domain.model.UCMCResult
import com.gta.presentation.R
import com.gta.presentation.databinding.FragmentReservationCheckBinding
import com.gta.presentation.ui.base.BaseFragment
import com.gta.presentation.util.FirebaseUtil
import com.gta.presentation.util.repeatOnStarted
import dagger.hilt.android.AndroidEntryPoint
import kotlinx.coroutines.flow.collectLatest
Expand Down Expand Up @@ -85,7 +86,7 @@ class ReservationCheckFragment :
else -> null
}?.isChecked = true

if (result.data.state == ReservationState.PENDING.state) {
if (result.data.state == ReservationState.PENDING.state && result.data.ownerId == FirebaseUtil.uid) {
anchorView = binding.btnReservationAccept
View.VISIBLE
} else {
Expand Down
2 changes: 1 addition & 1 deletion presentation/src/main/res/layout/fragment_reservation.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"
app:layout_constraintGuide_end="395dp" />
app:layout_constraintGuide_begin="@dimen/padding_medium" />

<androidx.constraintlayout.widget.Guideline
android:id="@+id/gl_reservation_end"
Expand Down

0 comments on commit c102ae8

Please sign in to comment.