[fenix] Closes https://github.com/mozilla-mobile/fenix/issues/3332 - Do not alter text of hosts of tabs in collection

pull/600/head
Emily Kager 5 years ago committed by Emily Kager
parent 228a90c5c6
commit ef1e6a91fa

@ -93,7 +93,7 @@ class TabCollectionStorage(
fun TabCollection.description(context: Context): String {
return this.tabs
.map { it.url.urlToTrimmedHost(context).capitalize() }
.map { it.url.urlToTrimmedHost(context) }
.map {
if (it.length > CollectionViewHolder.maxTitleLength) {
it.substring(

Loading…
Cancel
Save