mirror of
https://github.com/Aviortheking/Neo-Store.git
synced 2025-06-07 08:19:55 +00:00
Remove: Duplicate source code link
This commit is contained in:
parent
33ea9b7eea
commit
eb79622dc8
@ -118,7 +118,6 @@ class ProductAdapter(private val callbacks: Callbacks, private val columns: Int)
|
|||||||
EMAIL(R.drawable.ic_email, R.string.author_email),
|
EMAIL(R.drawable.ic_email, R.string.author_email),
|
||||||
LICENSE(R.drawable.ic_copyright, R.string.license,
|
LICENSE(R.drawable.ic_copyright, R.string.license,
|
||||||
format = { context, text -> context.getString(R.string.license_FORMAT, text) }),
|
format = { context, text -> context.getString(R.string.license_FORMAT, text) }),
|
||||||
SOURCE(R.drawable.ic_code, R.string.source_code),
|
|
||||||
TRACKER(R.drawable.ic_bug_report, R.string.bug_tracker),
|
TRACKER(R.drawable.ic_bug_report, R.string.bug_tracker),
|
||||||
CHANGELOG(R.drawable.ic_history, R.string.changelog),
|
CHANGELOG(R.drawable.ic_history, R.string.changelog),
|
||||||
WEB(R.drawable.ic_public, R.string.project_website)
|
WEB(R.drawable.ic_public, R.string.project_website)
|
||||||
@ -825,8 +824,6 @@ class ProductAdapter(private val callbacks: Callbacks, private val columns: Int)
|
|||||||
Uri.parse("https://spdx.org/licenses/$it.html")
|
Uri.parse("https://spdx.org/licenses/$it.html")
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
source.nullIfEmpty()
|
|
||||||
?.let { linkItems += Item.LinkItem.Typed(LinkType.SOURCE, "", Uri.parse(it)) }
|
|
||||||
tracker.nullIfEmpty()
|
tracker.nullIfEmpty()
|
||||||
?.let { linkItems += Item.LinkItem.Typed(LinkType.TRACKER, "", Uri.parse(it)) }
|
?.let { linkItems += Item.LinkItem.Typed(LinkType.TRACKER, "", Uri.parse(it)) }
|
||||||
changelog.nullIfEmpty()?.let {
|
changelog.nullIfEmpty()?.let {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user