diff --git a/Example/Example/ContentView.swift b/Example/Example/ContentView.swift index e4e709c..f52e531 100644 --- a/Example/Example/ContentView.swift +++ b/Example/Example/ContentView.swift @@ -9,11 +9,11 @@ import SwiftUI struct ContentView: View { - @State var badgeValue1: String? = "1" + @State var badgeValue: String? = "1" var body: some View { StatefulTabView { - Tab(title: "Tab 1", systemImageName: "circle.fill", badgeValue: badgeValue1) { + Tab(title: "Tab 1", systemImageName: "circle.fill", badgeValue: badgeValue) { NavigationView { List { Section {