From 689f8cd147aa5c1a5bc9bdc2e4d8edc8c9455178 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Fri, 4 Jun 2021 17:53:58 +0530 Subject: [PATCH] common: directly use string interpolation Signed-off-by: Harsh Shandilya --- .../kotlin/dev/msfjarvis/claw/common/posts/LobstersItem.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/src/commonMain/kotlin/dev/msfjarvis/claw/common/posts/LobstersItem.kt b/common/src/commonMain/kotlin/dev/msfjarvis/claw/common/posts/LobstersItem.kt index 1c363c3c..8ba8d4f4 100644 --- a/common/src/commonMain/kotlin/dev/msfjarvis/claw/common/posts/LobstersItem.kt +++ b/common/src/commonMain/kotlin/dev/msfjarvis/claw/common/posts/LobstersItem.kt @@ -83,9 +83,9 @@ fun LobstersItem( ) } SubmitterName( - text = "Submitted by %s".format(post.submitterName), + text = "Submitted by ${post.submitterName}", avatarUrl = post.submitterAvatarUrl, - contentDescription = "Submitted by %s".format(post.submitterName), + contentDescription = "Submitted by ${post.submitterName}", ) } }