Update repo url

This commit is contained in:
Elliot
2025-08-16 20:47:20 +08:00
parent a6663dfeb8
commit 84808dd68c
4 changed files with 6 additions and 6 deletions
@@ -18,7 +18,7 @@ struct GitHubHelper {
}
func getLatestRelease() async throws -> GitHubRelease {
let data = try await perform("/repos/whoeevee/EeveeSpotify/releases/latest")
let data = try await perform("/repos/whoeevee/EeveeSpotifyReborn/releases/latest")
return try decoder.decode(GitHubRelease.self, from: data)
}
@@ -28,14 +28,14 @@ struct GitHubHelper {
}
func getContributors() async throws -> [GitHubUser] {
let data = try await perform("/repos/whoeevee/EeveeSpotify/contributors")
let data = try await perform("/repos/whoeevee/EeveeSpotifyReborn/contributors")
return try decoder.decode([GitHubUser].self, from: data)
}
func getEeveeContributorSections() async throws -> [EeveeContributorSection] {
let (data, _) = try await URLSession.shared.data(
from: URL(
string: "https://raw.githubusercontent.com/whoeevee/EeveeSpotify/swift/contributors.json"
string: "https://raw.githubusercontent.com/whoeevee/EeveeSpotifyReborn/swift/contributors.json"
)!
)
return try decoder.decode([EeveeContributorSection].self, from: data)
@@ -29,6 +29,6 @@ class EeveeSettingsViewController: SPTPageViewController {
}
@objc func openRepositoryUrl(_ sender: UIButton) {
UIApplication.shared.open(URL(string: "https://github.com/whoeevee/EeveeSpotify")!)
UIApplication.shared.open(URL(string: "https://github.com/whoeevee/EeveeSpotifyReborn")!)
}
}
@@ -18,7 +18,7 @@ struct CommonIssuesTipView: View {
Link(
destination: URL(
string: "https://github.com/whoeevee/EeveeSpotify/blob/swift/common_issues.md"
string: "https://github.com/whoeevee/EeveeSpotifyReborn/blob/swift/common_issues.md"
)!,
label: {
VStack {
@@ -18,7 +18,7 @@ struct EeveeSettingsVersionView: View {
if isUpdateAvailable {
Link(
"update_available".localized,
destination: URL(string: "https://github.com/whoeevee/EeveeSpotify/releases")!
destination: URL(string: "https://github.com/whoeevee/EeveeSpotifyReborn/releases")!
)
}
} footer: {