commit cbbf8f920f373a90b739223367bc583346784d09 parent 4549b34a593d5a091b5bbb45e875ede76a2e3bbf Author: rhunk <101876869+rhunk@users.noreply.github.com> Date: Mon, 15 Apr 2024 07:44:50 +0200 fix: spotlight comments username - username duplication Diffstat:
M | core/src/main/kotlin/me/rhunk/snapenhance/core/features/impl/ui/SpotlightCommentsUsername.kt | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/core/src/main/kotlin/me/rhunk/snapenhance/core/features/impl/ui/SpotlightCommentsUsername.kt b/core/src/main/kotlin/me/rhunk/snapenhance/core/features/impl/ui/SpotlightCommentsUsername.kt @@ -30,6 +30,7 @@ class SpotlightCommentsUsername : Feature("SpotlightCommentsUsername", loadParam fun setUsername(username: String) { usernameCache[posterUserId] = username + if (commentsCreatorBadgeTimestamp.text.contains(username)) return commentsCreatorBadgeTimestamp.text = " (${username})" + commentsCreatorBadgeTimestamp.text.toString() }