Skip to content

Commit 9b56235

Browse files
committed
chore(ocp/fiat): remove suffix support from #formatted
Signed-off-by: Brandon McAnsh <git@bmcreations.dev>
1 parent 850c001 commit 9b56235

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

  • services/opencode/src/main/kotlin/com/getcode/opencode/model/financial

services/opencode/src/main/kotlin/com/getcode/opencode/model/financial/Fiat.kt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ data class Fiat(
6969
fun formatted(
7070
formatting: Formatting = Formatting.None,
7171
showPrefix: Boolean = true,
72-
suffix: String? = null,
7372
includeCommas: Boolean = true,
7473
): String {
7574
val shouldTruncate = if (formatting is Formatting.Truncated) {
@@ -103,8 +102,6 @@ data class Fiat(
103102

104103
positivePrefix = prefix
105104
negativePrefix = prefix
106-
positiveSuffix = suffix?.prependIndent(" ").orEmpty()
107-
negativeSuffix = suffix?.prependIndent(" ").orEmpty()
108105
isGroupingUsed = includeCommas
109106
}
110107

0 commit comments

Comments
 (0)