Hide "https://" and/or "www." in url when toolbar is in display mode.
In Firefox (and many modern mobile browsers), the "https://" portion of the url is often not displayed when the browser toolbar is in "display" mode (i.e. the user is browsing, not entering text into the toolbar"). This saves on screen real-estate and just looks more slick, especially since we already have the lock icon to designate http v. https. We should do this for Ceno. There is a built-in mozilla component that can be used for this exact purpose, UrlStringUtils.toDisplayUrl()
, and we are already using it for a workaround here, https://gitlab.com/censorship-no/ceno-browser/-/blob/main/app/src/main/java/ie/equalit/ceno/components/CustomLoadUrlUseCase.kt#L38 for example. I think that the best approach to reformatting the url for display will be to use the urlFormatter method of the DisplayToolbar class.