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

Commit

Permalink
Fix program details screen loading issue
Browse files Browse the repository at this point in the history
- LEARNER-7088
- It was happening due to wrong url
  • Loading branch information
farhan authored and miankhalid committed Feb 18, 2019
1 parent 359a429 commit 68e6851
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public void onLinkRecognized(@NonNull WebViewLink helper) {
switch (helper.authority) {
case ENROLLED_PROGRAM_INFO: {
final CharSequence url = ResourceUtil.getFormattedString(
environment.getConfig().getDiscoveryConfig().getProgramDiscoveryConfig().getInfoUrlTemplate(),
environment.getConfig().getProgramConfig().getDetailUrlTemplate(),
WebViewLink.Param.PATH_ID,
helper.params.get(WebViewLink.Param.PATH_ID));
environment.getRouter().showAuthenticatedWebviewActivity(activity, url.toString(),
Expand Down

0 comments on commit 68e6851

Please sign in to comment.