Fix new offenses

This commit is contained in:
Arkadiusz Fal
2021-11-08 17:29:35 +01:00
parent 2701c1ccb5
commit db9f7e5f5d
29 changed files with 305 additions and 305 deletions

View File

@@ -142,7 +142,7 @@ struct SearchView: View {
state.changeQuery { query in query.duration = duration }
}
#if !os(tvOS)
.navigationTitle("Search")
.navigationTitle("Search")
#endif
}
@@ -194,13 +194,13 @@ struct SearchView: View {
state.changeQuery { query in query.query = item.title }
}
#if os(iOS)
.swipeActions(edge: .trailing) {
deleteButton(item)
}
.swipeActions(edge: .trailing) {
deleteButton(item)
}
#elseif os(tvOS)
.contextMenu {
deleteButton(item)
}
.contextMenu {
deleteButton(item)
}
#endif
}
}
@@ -212,7 +212,7 @@ struct SearchView: View {
}
}
#if os(iOS)
.listStyle(.insetGrouped)
.listStyle(.insetGrouped)
#endif
}