Skip to content

Commit

Permalink
fix: bug when unable to see downloaded html content (#396)
Browse files Browse the repository at this point in the history
  • Loading branch information
dixidroid authored Nov 1, 2024
1 parent a4eac8d commit a005e85
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ class HtmlUnitFragment : Fragment() {
if (isAdded) viewModel.setWebPageLoaded(requireContext().assets)
},
onWebPageLoadError = {
viewModel.onWebPageLoadError()
if (!fromDownloadedContent) viewModel.onWebPageLoadError()
},
saveXBlockProgress = { jsonProgress ->
viewModel.saveXBlockProgress(jsonProgress)
Expand Down

0 comments on commit a005e85

Please sign in to comment.