Use old Previews syntax

This commit is contained in:
Arkadiusz Fal
2024-02-02 11:31:34 +01:00
parent f4c310846a
commit d5464186af
4 changed files with 31 additions and 23 deletions

View File

@@ -158,8 +158,10 @@ struct ExportSettings: View {
}
}
#Preview {
NavigationView {
ExportSettings()
struct ExportSettings_Previews: PreviewProvider {
static var previews: some View {
NavigationView {
ExportSettings()
}
}
}