We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5d26d6 commit 253df30Copy full SHA for 253df30
Examples/Sources/RandomNumberGeneratorExample/RandomNumberGeneratorApp.swift
@@ -39,7 +39,7 @@ struct RandomNumberGeneratorApp: App {
39
randomNumber = Int.random(in: Int(minNum)...Int(maxNum))
40
}
41
42
- Text("Minimum:")
+ Text("Minimum: \(minNum)")
43
Slider(
44
$minNum.onChange { newValue in
45
if newValue > maxNum {
@@ -50,7 +50,7 @@ struct RandomNumberGeneratorApp: App {
50
maximum: 100
51
)
52
53
- Text("Maximum:")
+ Text("Maximum: \(maxNum)")
54
55
$maxNum.onChange { newValue in
56
if newValue < minNum {
0 commit comments