diff --git a/iosApp/iosApp.xcodeproj/project.xcworkspace/xcuserdata/GERARD.xcuserdatad/UserInterfaceState.xcuserstate b/iosApp/iosApp.xcodeproj/project.xcworkspace/xcuserdata/GERARD.xcuserdatad/UserInterfaceState.xcuserstate index a46f0aaf7..ab9001df1 100644 Binary files a/iosApp/iosApp.xcodeproj/project.xcworkspace/xcuserdata/GERARD.xcuserdatad/UserInterfaceState.xcuserstate and b/iosApp/iosApp.xcodeproj/project.xcworkspace/xcuserdata/GERARD.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/iosApp/iosApp/screens/agenda/Agenda.swift b/iosApp/iosApp/screens/agenda/Agenda.swift index 944662ba5..1879df989 100644 --- a/iosApp/iosApp/screens/agenda/Agenda.swift +++ b/iosApp/iosApp/screens/agenda/Agenda.swift @@ -19,7 +19,7 @@ struct Agenda: View { agendas: [String: AgendaUi], onFavoriteClicked: @escaping (TalkItemUi) -> () ) { - self.dates = agendas.keys.map({ key in key }) + self.dates = agendas.keys.map({ key in key }).sorted() self.selectedDate = self.dates.first ?? "" self.agendas = agendas self.onFavoriteClicked = onFavoriteClicked @@ -32,7 +32,7 @@ struct Agenda: View { if (self.agendas.keys.count > 1) { Picker("Days:", selection: $selectedDate) { ForEach(self.dates.indices, id: \.self) { index in - Text(self.dates[index]).tag(index) + Text(self.dates[index]).tag(self.dates[index]) } } .pickerStyle(SegmentedPickerStyle())