Skip to content

Commit

Permalink
fix: Address PR comments
Browse files Browse the repository at this point in the history
- Add flow type for purchase from course dashboard
  • Loading branch information
omerhabib26 committed Sep 30, 2024
1 parent 7748eec commit 6dc5d21
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ import org.openedx.core.data.storage.CorePreferences
import org.openedx.core.domain.interactor.IAPInteractor
import org.openedx.core.domain.model.CourseAccessError
import org.openedx.core.domain.model.CourseEnrollmentDetails
import org.openedx.core.domain.model.iap.IAPFlow
import org.openedx.core.domain.model.iap.PurchaseFlowData
import org.openedx.core.exception.iap.IAPException
import org.openedx.core.extension.isFalse
Expand Down Expand Up @@ -256,6 +257,7 @@ class CourseContainerViewModel(
isSelfPaced = courseInfoOverview.isSelfPaced
productInfo = courseInfoOverview.productInfo
screenName = IAPAnalyticsScreen.COURSE_DASHBOARD.screenName
iapFlow = IAPFlow.USER_INITIATED
}
loadPrice()
_courseAccessStatus.value =
Expand Down

0 comments on commit 6dc5d21

Please sign in to comment.