Codestyle fixes

This commit is contained in:
Arkadiusz Fal
2023-05-07 21:45:18 +02:00
parent 3779b7ed1f
commit f45001da78
11 changed files with 14 additions and 14 deletions

View File

@@ -79,7 +79,7 @@ struct TrendingView: View {
TrendingCountry(selectedCountry: $country)
}
#else
.sheet(isPresented: $presentingCountrySelection) {
.sheet(isPresented: $presentingCountrySelection) {
TrendingCountry(selectedCountry: $country)
#if os(macOS)
.frame(minWidth: 400, minHeight: 400)
@@ -128,7 +128,7 @@ struct TrendingView: View {
}
}
#else
.onReceive(NotificationCenter.default.publisher(for: UIApplication.willEnterForegroundNotification)) { _ in
.onReceive(NotificationCenter.default.publisher(for: UIApplication.willEnterForegroundNotification)) { _ in
resource.loadIfNeeded()?
.onFailure { self.error = $0 }
.onSuccess { _ in self.error = nil }