Skip to content

Commit

Permalink
Fix overwriting the guide with a null check
Browse files Browse the repository at this point in the history
  • Loading branch information
AbandonedCart committed Apr 25, 2024
1 parent 9d16b92 commit 2d65704
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ class WebsiteFragment : Fragment() {
val webViewSettings = view.settings
webViewSettings.setSupportZoom(true)
webViewSettings.builtInZoomControls = true
address?.let { view.loadUrl(it) }
view.loadUrl(website)
} ?: {
val delayedUrl = website
webHandler.postDelayed({ loadWebsite(delayedUrl) }, TagMo.uiDelay.toLong())
Expand Down Expand Up @@ -252,4 +252,4 @@ class WebsiteFragment : Fragment() {
companion object {
private const val WEBSITE_README = "https://tagmo.gitlab.io/"
}
}
}

0 comments on commit 2d65704

Please sign in to comment.