Skip to content

Commit

Permalink
fix: API call in Demo app (#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
fabriziodemaria authored May 7, 2024
1 parent 5f3c8aa commit bfdc949
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ConfidenceDemoApp/ConfidenceDemoApp/ContentView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ struct ContentView: View {
.padding(10)
Text(text.text)
Button("Get remote flag value") {
text.text = confidence.getValue(flagName: "swift-demoapp.color", defaultValue: "ERROR")
text.text = confidence.getValue(key: "swift-demoapp.color", defaultValue: "ERROR")
if text.text == "Green" {
color.color = .green
} else if text.text == "Yellow" {
Expand Down

0 comments on commit bfdc949

Please sign in to comment.