Skip to content

Commit

Permalink
News: removed unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
Javinator9889 committed Dec 10, 2020
1 parent fb983a2 commit c196458
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,6 @@ data class News(
}
websiteName.text =
item.website ?: context.getString(R.string.no_website)
// websiteName.text = item.website?.let {
// if (it.length > 20) "${it.take(20)}…" else it
// } ?: context.getString(R.string.no_website)
publishDate.text =
item.discoverDate?.let { formatter.format(it) }
?: context.getString(R.string.no_date)
Expand Down

0 comments on commit c196458

Please sign in to comment.