fix checkout

This commit is contained in:
shaulascr
2025-05-14 04:56:31 +07:00
parent 648385835c
commit ce8a6b24b4
3 changed files with 3 additions and 6 deletions

View File

@ -38,9 +38,6 @@
<activity <activity
android:name=".ui.order.review.CreateReviewActivity" android:name=".ui.order.review.CreateReviewActivity"
android:exported="false" /> android:exported="false" />
<activity
android:name=".ui.cart.MainActivity"
android:exported="false" />
<activity <activity
android:name=".ui.profile.mystore.profile.EditStoreProfileActivity" android:name=".ui.profile.mystore.profile.EditStoreProfileActivity"
android:exported="false" /> android:exported="false" />

View File

@ -192,7 +192,7 @@ class CheckoutActivity : AppCompatActivity() {
viewModel.setPaymentMethod(payment.id) viewModel.setPaymentMethod(payment.id)
} }
binding.rvPaymentMethods.apply { binding.rvPaymentInfo.apply {
layoutManager = LinearLayoutManager(this@CheckoutActivity) layoutManager = LinearLayoutManager(this@CheckoutActivity)
adapter = paymentAdapter adapter = paymentAdapter
} }
@ -219,7 +219,7 @@ class CheckoutActivity : AppCompatActivity() {
} }
} }
binding.rvPaymentMethods.apply { binding.rvPaymentInfo.apply {
layoutManager = LinearLayoutManager(this@CheckoutActivity) layoutManager = LinearLayoutManager(this@CheckoutActivity)
adapter = testAdapter adapter = testAdapter
} }

View File

@ -1,5 +1,5 @@
[versions] [versions]
agp = "8.10.0" agp = "8.9.2"
glide = "4.16.0" glide = "4.16.0"
hiltAndroid = "2.48" # Updated from 2.44 for better compatibility hiltAndroid = "2.48" # Updated from 2.44 for better compatibility
hiltLifecycleViewmodel = "1.0.0-alpha03" hiltLifecycleViewmodel = "1.0.0-alpha03"