From b89eb0103dd5ad5f78ae565956af15ff29d67bdd Mon Sep 17 00:00:00 2001 From: Christoph Hagen Date: Sun, 21 Jan 2024 14:36:36 +0100 Subject: [PATCH] Fix string display --- HealthImport/Model/MetadataValue.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HealthImport/Model/MetadataValue.swift b/HealthImport/Model/MetadataValue.swift index 969d161..2294648 100644 --- a/HealthImport/Model/MetadataValue.swift +++ b/HealthImport/Model/MetadataValue.swift @@ -57,7 +57,7 @@ extension MetadataValue: CustomStringConvertible { case .date(let value): return value.timeAndDateText case .numerical(let value, let unit): - return String(format: "%.3f %s", value, unit) + return String(format: "%.3f ", value) + unit case .data(let value): return value.description }