Awdjfghkahdsgjf;h

id and name were swapped loll
switch back to icloud defaults for hostsmanager
update xcode* themes to camel case
This commit is contained in:
neon443 committed 2025-06-29 11:22:29 +01:00
1 parent 331b21b23f
commit 4ca3bc035f
17 files changed
+43 -46

No files matched your search

+3 -6
View File
@@ -66,10 +66,7 @@ struct Theme: Hashable, Equatable, Identifiable {
static func decodeLocalTheme(fileName: String) -> Theme? {
guard let path = Bundle.main.url(forResource: fileName, withExtension: "plist") else { return nil }
let themeName = path.lastPathComponent.replacingOccurrences(of: ".plist", with: "")
guard let fileContents = try? Data(contentsOf: path) else { return nil }
return Theme.decodeTheme(data: fileContents)
}
@@ -95,9 +92,9 @@ struct Theme: Hashable, Equatable, Identifiable {
enum ThemesBuiltin: String, CaseIterable, Hashable, Equatable {
case defaultTheme = "defaultTheme"
case xcodedark = "xcodedark"
case xcodedarkhc = "xcodedarkhc"
case xcodewwdc = "xcodewwdc"
case xcodeDark = "xcodeDark"
case xcodeDarkHC = "xcodeDarkHC"
case xcodeWWDC = "xcodeWWDC"
case tomorrowNight = "tomorrowNight"
case zeroXNineSixF = "0x96f"
case iTerm2SolarizedDark = "iTerm2SolarizedDark"
+1 -1
View File
@@ -74,7 +74,7 @@ extension ThemeCodable {
extension ThemeCodable {
func toTheme() -> Theme {
return Theme(
id: id ?? UUID().uuidString,
id: self.id ?? UUID().uuidString,
name: self.name ?? "",
ansi: self.ansi,
foreground: self.foreground.stColor,
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.