diff --git a/Package.swift b/Package.swift index 1495167..e6e8d4c 100644 --- a/Package.swift +++ b/Package.swift @@ -3,6 +3,7 @@ import PackageDescription let package = Package( name: "HandySwiftUI", + defaultLocalization: "en", platforms: [.iOS(.v16), .macOS(.v13), .tvOS(.v16), .visionOS(.v1), .watchOS(.v9)], products: [.library(name: "HandySwiftUI", targets: ["HandySwiftUI"])], dependencies: [.package(url: "https://github.com/FlineDev/HandySwift.git", from: "4.2.0")], diff --git a/Sources/HandySwiftUI/Extensions/TextExt.swift b/Sources/HandySwiftUI/Extensions/TextExt.swift index 214d99a..01f53cd 100644 --- a/Sources/HandySwiftUI/Extensions/TextExt.swift +++ b/Sources/HandySwiftUI/Extensions/TextExt.swift @@ -72,7 +72,7 @@ extension Text { let suffix = String(formatString[(previousRange?.upperBound ?? formatString.startIndex)..