diff --git a/ConfidenceDemoApp/ConfidenceDemoApp/ContentView.swift b/ConfidenceDemoApp/ConfidenceDemoApp/ContentView.swift index c4ed16ae..8e9b223c 100644 --- a/ConfidenceDemoApp/ConfidenceDemoApp/ContentView.swift +++ b/ConfidenceDemoApp/ConfidenceDemoApp/ContentView.swift @@ -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" {