Skip to content

Commit

Permalink
run swift-format
Browse files Browse the repository at this point in the history
  • Loading branch information
ski-u authored and github-actions[bot] committed Dec 25, 2024
1 parent 94824c7 commit 60775cf
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
5 changes: 4 additions & 1 deletion Features/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,10 @@ let package = Package(
],
dependencies: [
.package(url: "https://github.com/cybozu/LicenseList.git", exact: "1.1.1"),
.package(url: "https://github.com/pointfreeco/swift-composable-architecture.git", from: "1.17.0"),
.package(
url: "https://github.com/pointfreeco/swift-composable-architecture.git",
from: "1.17.0"
),
.package(url: "https://github.com/pointfreeco/swift-dependencies.git", from: "1.6.2"),
.package(url: "https://github.com/kishikawakatsumi/KeychainAccess.git", from: "4.2.2"),
.package(url: "https://github.com/konomae/swift-local-date.git", from: "0.4.1"),
Expand Down
11 changes: 8 additions & 3 deletions Features/Sources/Today/TodayView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ public struct TodayView: View {
}
.fullScreenCover(isPresented: $isPresentedFullScreenImage) {
FullScreenImageView(
closeButtonTapped: { isPresentedFullScreenImage = false },
closeButtonTapped: {
isPresentedFullScreenImage = false
},
hdImageURL: picture.hdURL,
image: image
)
Expand Down Expand Up @@ -166,7 +168,9 @@ public struct TodayView: View {
date: LocalDate(year: 2012, month: 7, day: 12),
explanation:
"What will become of our Sun? The first hint of our Sun's future was discovered inadvertently in 1764. At that time, Charles Messier was compiling a list of diffuse objects not to be confused with comets. The 27th object on Messier's list, now known as M27 or the Dumbbell Nebula, is a planetary nebula, one of the brightest planetary nebulae on the sky -- and visible toward the constellation of the Fox (Vulpecula) with binoculars. It takes light about 1000 years to reach us from M27, featured here in colors emitted by hydrogen and oxygen. We now know that in about 6 billion years, our Sun will shed its outer gases into a planetary nebula like M27, while its remaining center will become an X-ray hot white dwarf star. Understanding the physics and significance of M27 was well beyond 18th century science, though. Even today, many things remain mysterious about planetary nebulas, including how their intricate shapes are created.",
hdURL: URL(string: "https://apod.nasa.gov/apod/image/2107/M27_Falls_3557.jpg")!,
hdURL: URL(
string: "https://apod.nasa.gov/apod/image/2107/M27_Falls_3557.jpg"
)!,
mediaType: .image,
title: "M27: The Dumbbell Nebula",
url: URL(string: "https://apod.nasa.gov/apod/image/2107/M27_Falls_960.jpg")!
Expand Down Expand Up @@ -213,7 +217,8 @@ public struct TodayView: View {
picture: .init(
copyright: "\nSpaceX\n",
date: LocalDate(year: 2024, month: 10, day: 23),
explanation: "Mechazilla has caught the Super Heavy booster! pic.twitter.com/6R5YatSVJX",
explanation:
"Mechazilla has caught the Super Heavy booster! pic.twitter.com/6R5YatSVJX",
hdURL: nil,
mediaType: .other,
title: "Caught",
Expand Down

0 comments on commit 60775cf

Please sign in to comment.