openedx-unsupported / edx-app-android

The Open edX mobile app for Android!
https://docs.google.com/document/d/15MYZ2LAmahB82P5wkPkQOqjszfou0Qkeae3qz7STxUQ/edit
Apache License 2.0
299 stars 333 forks source link

Fix: Hide components with `student_view_multi_device` set to false #1838

Closed HamzaIsrar12 closed 11 months ago

HamzaIsrar12 commented 11 months ago

Description

LEARNER-9671

To hide the HTML components with the student_view_multi_device flag set to False.

codecov[bot] commented 11 months ago

Codecov Report

Attention: 5 lines in your changes are missing coverage. Please review.

Comparison is base (e09ce0a) 1.07% compared to head (47ff82e) 1.07%. Report is 1 commits behind head on master.

:exclamation: Current head 47ff82e differs from pull request most recent head 8333e8f. Consider uploading reports for the commit 8333e8f to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1838 +/- ## ======================================== Coverage 1.07% 1.07% Complexity 137 137 ======================================== Files 538 538 Lines 26302 26302 Branches 3387 3385 -2 ======================================== Hits 284 284 Misses 25991 25991 Partials 27 27 ``` | [Files](https://app.codecov.io/gh/openedx/edx-app-android/pull/1838?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openedx) | Coverage Δ | | |---|---|---| | [...edx/mobile/view/adapters/CourseUnitPagerAdapter.kt](https://app.codecov.io/gh/openedx/edx-app-android/pull/1838?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openedx#diff-T3BlbkVkWE1vYmlsZS9zcmMvbWFpbi9qYXZhL29yZy9lZHgvbW9iaWxlL3ZpZXcvYWRhcHRlcnMvQ291cnNlVW5pdFBhZ2VyQWRhcHRlci5rdA==) | `0.00% <0.00%> (ø)` | | ... and [2 files with indirect coverage changes](https://app.codecov.io/gh/openedx/edx-app-android/pull/1838/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openedx)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.