mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-09 19:10:42 +00:00
Closes #3332 - Do not alter text of hosts of tabs in collection
This commit is contained in:
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…
Reference in New Issue
Block a user