From fdcfc3352c6c73e349f0ab4cb64da7e71f4cd083 Mon Sep 17 00:00:00 2001 From: FlyJingFish Date: Sun, 19 Dec 2021 22:02:19 +0800 Subject: [PATCH] =?UTF-8?q?1,=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/flyjingfish/formattextview/FormatTextView.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FormatTextView/src/main/java/com/flyjingfish/formattextview/FormatTextView.kt b/FormatTextView/src/main/java/com/flyjingfish/formattextview/FormatTextView.kt index a133873..bffd9b9 100644 --- a/FormatTextView/src/main/java/com/flyjingfish/formattextview/FormatTextView.kt +++ b/FormatTextView/src/main/java/com/flyjingfish/formattextview/FormatTextView.kt @@ -96,7 +96,7 @@ class FormatTextView :AppCompatTextView { for (i in args.indices) { //%1$s var start = "" var end = "" - var value = strings[i] + var value = args[i] if (italics[i]) { value = "$value" }