Skip to content

Commit

Permalink
fix: bug when unable to see downloaded html content
Browse files Browse the repository at this point in the history
  • Loading branch information
dixidroid committed Nov 1, 2024
1 parent a4eac8d commit 90cb566
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 90cb566

Please sign in to comment.