Commit a56ca1f6 authored by Konstantin Tskhovrebov's avatar Konstantin Tskhovrebov 🤖

Merge branch 'feature/remove_event_badges' into 'develop'

Remove commit badge from event list item.

See merge request !170
parents 7ee7250d c6a56e38
......@@ -128,9 +128,6 @@ class EventRepository @Inject constructor(
val badges = mutableListOf<TargetBadge>()
project?.let { badges.add(TargetBadge.Text(it.name, AppTarget.PROJECT, it.id)) }
badges.add(TargetBadge.Text(event.author.username, AppTarget.USER, event.author.id))
event.pushData?.let { pushData ->
badges.add(TargetBadge.Icon(TargetBadgeIcon.COMMITS, pushData.commitCount))
}
TargetHeader.Public(
event.author,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment