Closes #3332 - Do not alter text of hosts of tabs in collection

nightly-build-test
Emily Kager 5 years ago committed by Emily Kager
parent 8daaa6378d
commit 68dae52fd1

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

Loading…
Cancel
Save