fix: fix errors in Swift 6 language mode

This commit is contained in:
Kenta Kubo 2025-03-09 01:41:10 +09:00
parent 5d42bc0833
commit ebb9cf90a7
No known key found for this signature in database
GPG key ID: 3D79E20285C94BE8
2 changed files with 2 additions and 0 deletions

View file

@ -133,6 +133,7 @@ struct ContentView {
}
}
@MainActor
extension ContentView: View {
var body: some View {
if #available(iOS 16, *) {

View file

@ -19,6 +19,7 @@ struct DetailView {
}
}
@MainActor
extension DetailView: View {
var body: some View {
if #available(iOS 16, *) {