2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-11 13:11:01 +00:00

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

This commit is contained in:
Emily Kager 2019-07-16 12:34:14 -07:00 committed by Emily Kager
parent 8daaa6378d
commit 68dae52fd1

View File

@ -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(