Skip to content

Commit b9d17e4

Browse files
committed
Improve format style.
1 parent 62283e5 commit b9d17e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Shared/Samples/Add clustering feature reduction to a point feature layer/AddClusteringFeatureReductionToAPointFeatureLayerView.SettingsView.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ extension AddClusteringFeatureReductionToAPointFeatureLayerView {
5050
HStack {
5151
Text("Cluster Radius")
5252
Spacer()
53-
Text(radius.formatted(formatStyle))
53+
Text(radius, format: formatStyle)
5454
.foregroundColor(.secondary)
5555
}
5656
Slider(
@@ -67,7 +67,7 @@ extension AddClusteringFeatureReductionToAPointFeatureLayerView {
6767
HStack {
6868
Text("Cluster Max Scale")
6969
Spacer()
70-
Text(maxScale.formatted(formatStyle))
70+
Text(maxScale, format: formatStyle)
7171
.foregroundColor(.secondary)
7272
}
7373
Slider(

0 commit comments

Comments
 (0)