Skip to content

Commit

Permalink
Use contributor commit url instead of profile url
Browse files Browse the repository at this point in the history
Signed-off-by: DrDisagree <[email protected]>
  • Loading branch information
Mahmud0808 committed Nov 14, 2024
1 parent 3bcc3d6 commit e1c367e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ fun parseContributors(): ArrayList<InfoModel> {
if (excludedContributors.contains(name)) continue // Skip the excluded contributors

val picture = jsonObject.getString("avatar_url")
val profileUrl = jsonObject.getString("html_url")
val commitsUrl = "https://github.com/Mahmud0808/Iconify/commits?author=$name"
val contributions = jsonObject.getInt("contributions")

contributorsList.add(
InfoModel(
name,
appContextLocale.resources.getString(R.string.total_contributions, contributions),
profileUrl,
commitsUrl,
picture
)
)
Expand Down

0 comments on commit e1c367e

Please sign in to comment.