Skip to content

Commit

Permalink
fix display.urlFormatter
Browse files Browse the repository at this point in the history
  • Loading branch information
akliuxingyuan committed Sep 5, 2024
1 parent 163b4de commit 8acf164
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,7 @@ class BrowserToolbarView(
if (!settings.shouldStripUrl) {
{url -> url}
} else {
if (isNavBarEnabled) {
{url -> Uri.parse(url.toString()).host ?: url}
} else {
{url -> URLStringUtils.toDisplayUrl(url)}
}
{url -> URLStringUtils.toDisplayUrl(url)}
}

display.hint = context.getString(R.string.search_hint)
Expand Down

0 comments on commit 8acf164

Please sign in to comment.