mirror of
https://github.com/yattee/yattee.git
synced 2025-08-05 02:04:07 +00:00
Lint
This commit is contained in:
@@ -17,9 +17,9 @@ struct TrendingCountry: View {
|
||||
#if !os(tvOS)
|
||||
HStack {
|
||||
if #available(iOS 15.0, macOS 12.0, *) {
|
||||
TextField("Country", text: $query, prompt: Text(TrendingCountry.prompt))
|
||||
TextField("Country", text: $query, prompt: Text(Self.prompt))
|
||||
} else {
|
||||
TextField(TrendingCountry.prompt, text: $query)
|
||||
TextField(Self.prompt, text: $query)
|
||||
}
|
||||
|
||||
Button("Done") { selectCountryAndDismiss() }
|
||||
|
Reference in New Issue
Block a user