Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Commit

Permalink
fix: Minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
omerhabib26 committed Jul 21, 2023
1 parent 89ebfb6 commit f262567
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
import org.edx.mobile.R;
import org.edx.mobile.base.BaseFragment;
import org.edx.mobile.base.BaseFragmentActivity;
import org.edx.mobile.base.MainApplication;
import org.edx.mobile.core.EdxDefaultModule;
import org.edx.mobile.databinding.FragmentDiscussionResponsesOrCommentsBinding;
import org.edx.mobile.discussion.DiscussionCommentPostedEvent;
Expand Down Expand Up @@ -271,7 +270,9 @@ public ResponsesLoader(@ActivityContext @NonNull Context context, @NonNull Strin
discussionService = EntryPointAccessors
.fromApplication(context, EdxDefaultModule.ProviderEntryPoint.class)
.getDiscussionService();
config = MainApplication.getEnvironment(context).getConfig();
config = EntryPointAccessors
.fromApplication(context, EdxDefaultModule.ProviderEntryPoint.class)
.getEnvironment().getConfig();

Check warning on line 275 in OpenEdXMobile/src/main/java/org/edx/mobile/view/CourseDiscussionResponsesFragment.java

View check run for this annotation

Codecov / codecov/patch

OpenEdXMobile/src/main/java/org/edx/mobile/view/CourseDiscussionResponsesFragment.java#L273-L275

Added lines #L273 - L275 were not covered by tests
}

@Override
Expand Down

0 comments on commit f262567

Please sign in to comment.