From 5a369574cc5138d445f01b0d334313f87915f873 Mon Sep 17 00:00:00 2001 From: Stern Date: Wed, 11 Dec 2024 15:20:10 -0500 Subject: [PATCH] UI: Change UI elements to SideStore branding Signed-off-by: Stern --- AltStore.xcodeproj/project.pbxproj | 2 + .../xcshareddata/swiftpm/Package.resolved | 33 ++++ AltStore/Settings/Settings.storyboard | 162 +++++++++--------- .../Settings/SettingsViewController.swift | 12 +- .../Components/AddSourceTextFieldCell.swift | 2 +- 5 files changed, 119 insertions(+), 92 deletions(-) create mode 100644 AltStore.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved diff --git a/AltStore.xcodeproj/project.pbxproj b/AltStore.xcodeproj/project.pbxproj index bcda30db..124b0f1d 100644 --- a/AltStore.xcodeproj/project.pbxproj +++ b/AltStore.xcodeproj/project.pbxproj @@ -3505,6 +3505,7 @@ "$(PROJECT_DIR)/Dependencies/libcurl", ); LLVM_LTO = YES_THIN; + MARKETING_VERSION = 0.6.0; OTHER_LDFLAGS = ""; PRODUCT_BUNDLE_IDENTIFIER = "$(PRODUCT_BUNDLE_IDENTIFIER)"; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -3548,6 +3549,7 @@ "$(PROJECT_DIR)/Dependencies/libcurl", ); LLVM_LTO = YES_THIN; + MARKETING_VERSION = 0.6.0; OTHER_LDFLAGS = ""; PRODUCT_BUNDLE_IDENTIFIER = "$(PRODUCT_BUNDLE_IDENTIFIER)"; PRODUCT_NAME = "$(TARGET_NAME)"; diff --git a/AltStore.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/AltStore.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved new file mode 100644 index 00000000..8205d75e --- /dev/null +++ b/AltStore.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -0,0 +1,33 @@ +{ + "originHash" : "e97900bbb49eb7423d5c5ecbf132d2d5761c401e2444f3c8e6cbfa7014ad9c53", + "pins" : [ + { + "identity" : "launchatlogin", + "kind" : "remoteSourceControl", + "location" : "https://github.com/sindresorhus/LaunchAtLogin.git", + "state" : { + "revision" : "e8171b3e38a2816f579f58f3dac1522aa39efe41", + "version" : "4.2.0" + } + }, + { + "identity" : "semanticversion", + "kind" : "remoteSourceControl", + "location" : "https://github.com/SwiftPackageIndex/SemanticVersion.git", + "state" : { + "revision" : "ea8eea9d89842a29af1b8e6c7677f1c86e72fa42", + "version" : "0.4.0" + } + }, + { + "identity" : "swift-argument-parser", + "kind" : "remoteSourceControl", + "location" : "https://github.com/apple/swift-argument-parser.git", + "state" : { + "revision" : "8f4d2753f0e4778c76d5f05ad16c74f707390531", + "version" : "1.2.3" + } + } + ], + "version" : 3 +} diff --git a/AltStore/Settings/Settings.storyboard b/AltStore/Settings/Settings.storyboard index beba4955..b8c91aac 100644 --- a/AltStore/Settings/Settings.storyboard +++ b/AltStore/Settings/Settings.storyboard @@ -1,9 +1,9 @@ - + - + @@ -21,11 +21,11 @@ - + - diff --git a/AltStore/Settings/SettingsViewController.swift b/AltStore/Settings/SettingsViewController.swift index a4ea6d94..75fc1492 100644 --- a/AltStore/Settings/SettingsViewController.swift +++ b/AltStore/Settings/SettingsViewController.swift @@ -309,7 +309,7 @@ private extension SettingsViewController } else { - settingsHeaderFooterView.secondaryLabel.text = NSLocalizedString("Personalize your AltStore experience by choosing an alternate app icon.", comment: "") + settingsHeaderFooterView.secondaryLabel.text = NSLocalizedString("Personalize your SideStore experience by choosing an alternate app icon.", comment: "") } @@ -552,22 +552,22 @@ private extension SettingsViewController @IBAction func followAltStoreMastodon() { - self.openMastodon(username: "@altstore@fosstodon.org") + self.openMastodon(username: "@sidestoreio@fosstodon.org") } @IBAction func followAltStoreThreads() { - self.openThreads(username: "altstoreio") + self.openThreads(username: "sidestore.io") } @IBAction func followAltStoreTwitter() { - self.openTwitter(username: "altstoreio") + self.openTwitter(username: "sidestoreio") } @IBAction func followAltStoreGitHub() { - let safariURL = URL(string: "https://github.com/altstoreio")! + let safariURL = URL(string: "https://github.com/SideStore")! UIApplication.shared.open(safariURL, options: [:]) } } @@ -782,7 +782,7 @@ extension SettingsViewController // Option 2: Discord alertController.addAction(UIAlertAction(title: "Discord", style: .default) { _ in - if let discordURL = URL(string: "https://discord.gg/sidestore-949183273383395328") { + if let discordURL = URL(string: "https://discord.gg/sidestore") { let safariViewController = SFSafariViewController(url: discordURL) safariViewController.preferredControlTintColor = .altPrimary self.present(safariViewController, animated: true, completion: nil) diff --git a/AltStore/Sources/Components/AddSourceTextFieldCell.swift b/AltStore/Sources/Components/AddSourceTextFieldCell.swift index 8f8ff254..1a09959b 100644 --- a/AltStore/Sources/Components/AddSourceTextFieldCell.swift +++ b/AltStore/Sources/Components/AddSourceTextFieldCell.swift @@ -19,7 +19,7 @@ class AddSourceTextFieldCell: UICollectionViewCell { self.textField = UITextField(frame: frame) self.textField.translatesAutoresizingMaskIntoConstraints = false - self.textField.placeholder = "apps.altstore.io" + self.textField.placeholder = "apps.sidestore.io" self.textField.textContentType = .URL self.textField.keyboardType = .URL self.textField.returnKeyType = .done