Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Ruddarr.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@
BB54D0282E90932400F5CF42 /* AppIconPlex.icon in Resources */ = {isa = PBXBuildFile; fileRef = BB54D01F2E90932400F5CF42 /* AppIconPlex.icon */; };
BB54D0292E90932400F5CF42 /* AppIconPodcasts.icon in Resources */ = {isa = PBXBuildFile; fileRef = BB54D0202E90932400F5CF42 /* AppIconPodcasts.icon */; };
BB54D02A2E90932400F5CF42 /* AppIconWarp.icon in Resources */ = {isa = PBXBuildFile; fileRef = BB54D0212E90932400F5CF42 /* AppIconWarp.icon */; };
BB54D02B2E90932400F5CF42 /* AppIconOriginal.icon in Resources */ = {isa = PBXBuildFile; fileRef = BB54D02C2E90932400F5CF42 /* AppIconOriginal.icon */; };
BB581D1A2BA0ED5E0070DFFC /* CalendarView.swift in Sources */ = {isa = PBXBuildFile; fileRef = BB581D192BA0ED5E0070DFFC /* CalendarView.swift */; };
BB585E892BF55EF400A9AF25 /* EpisodeContextMenu.swift in Sources */ = {isa = PBXBuildFile; fileRef = BB585E882BF55EF400A9AF25 /* EpisodeContextMenu.swift */; };
BB63E1F02C17DE1A00BCCA94 /* Intents.swift in Sources */ = {isa = PBXBuildFile; fileRef = BB63E1EF2C17DE1A00BCCA94 /* Intents.swift */; };
Expand Down Expand Up @@ -346,6 +347,7 @@
BB54D01F2E90932400F5CF42 /* AppIconPlex.icon */ = {isa = PBXFileReference; lastKnownFileType = folder.iconcomposer.icon; path = AppIconPlex.icon; sourceTree = "<group>"; };
BB54D0202E90932400F5CF42 /* AppIconPodcasts.icon */ = {isa = PBXFileReference; lastKnownFileType = folder.iconcomposer.icon; path = AppIconPodcasts.icon; sourceTree = "<group>"; };
BB54D0212E90932400F5CF42 /* AppIconWarp.icon */ = {isa = PBXFileReference; lastKnownFileType = folder.iconcomposer.icon; path = AppIconWarp.icon; sourceTree = "<group>"; };
BB54D02C2E90932400F5CF42 /* AppIconOriginal.icon */ = {isa = PBXFileReference; lastKnownFileType = folder.iconcomposer.icon; path = AppIconOriginal.icon; sourceTree = "<group>"; };
BB581D192BA0ED5E0070DFFC /* CalendarView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CalendarView.swift; sourceTree = "<group>"; };
BB585E882BF55EF400A9AF25 /* EpisodeContextMenu.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = EpisodeContextMenu.swift; sourceTree = "<group>"; };
BB63E1EF2C17DE1A00BCCA94 /* Intents.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Intents.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -684,6 +686,7 @@
isa = PBXGroup;
children = (
BB54D01A2E90932400F5CF42 /* AppIcon.icon */,
BB54D02C2E90932400F5CF42 /* AppIconOriginal.icon */,
BB54D01B2E90932400F5CF42 /* AppIconBarbie.icon */,
BB54D01C2E90932400F5CF42 /* AppIconBooks.icon */,
BB54D01D2E90932400F5CF42 /* AppIconMono.icon */,
Expand Down Expand Up @@ -1168,6 +1171,7 @@
BBA06B592F47D4B600A5F9B4 /* popular-movies.json in Resources */,
BBD3F2D42BFA520700DE5D8E /* series-episode-history.json in Resources */,
BB54D0232E90932400F5CF42 /* AppIcon.icon in Resources */,
BB54D02B2E90932400F5CF42 /* AppIconOriginal.icon in Resources */,
BB54D0242E90932400F5CF42 /* AppIconBarbie.icon in Resources */,
BB54D0252E90932400F5CF42 /* AppIconBooks.icon in Resources */,
BB54D0262E90932400F5CF42 /* AppIconMono.icon in Resources */,
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"images" : [
{
"filename" : "ruddarr-icon.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 6 additions & 18 deletions Ruddarr/Icons/AppIcon.icon/icon.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,33 +4,21 @@
},
"groups" : [
{
"hidden" : false,
"layers" : [
{
"fill" : {
"solid" : "srgb:1.00000,1.00000,1.00000,1.00000"
},
"glass" : true,
"hidden" : false,
"image-name" : "shape.svg",
"name" : "Shape",
"position" : {
"scale" : 2.1,
"translation-in-points" : [
-9,
12
]
}
"blend-mode" : "normal",
"glass" : false,
"image-name" : "icon_transparent.png",
"name" : "icon_transparent",
"opacity" : 1
}
],
"lighting" : "individual",
"shadow" : {
"kind" : "neutral",
"opacity" : 0.5
},
"specular" : true,
"translucency" : {
"enabled" : false,
"enabled" : true,
"value" : 0.5
}
}
Expand Down
44 changes: 44 additions & 0 deletions Ruddarr/Icons/AppIconOriginal.icon/icon.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"fill" : {
"automatic-gradient" : "extended-srgb:0.00000,0.53333,1.00000,1.00000"
},
"groups" : [
{
"hidden" : false,
"layers" : [
{
"fill" : {
"solid" : "srgb:1.00000,1.00000,1.00000,1.00000"
},
"glass" : true,
"hidden" : false,
"image-name" : "shape.svg",
"name" : "Shape",
"position" : {
"scale" : 2.1,
"translation-in-points" : [
-9,
12
]
}
}
],
"lighting" : "individual",
"shadow" : {
"kind" : "neutral",
"opacity" : 0.5
},
"specular" : true,
"translucency" : {
"enabled" : false,
"value" : 0.5
}
}
],
"supported-platforms" : {
"circles" : [
"watchOS"
],
"squares" : "shared"
}
}
6 changes: 6 additions & 0 deletions Ruddarr/Services/Theme.swift
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ enum Appearance: String, Identifiable, CaseIterable {

enum AppIcon: String, Identifiable, CaseIterable {
case factory
case original
case books
case podcasts
case music
Expand All @@ -111,6 +112,7 @@ enum AppIcon: String, Identifiable, CaseIterable {
var data: AppIconData {
switch self {
case .factory: AppIconData.factory
case .original: AppIconData.original
case .music: AppIconData.music
case .podcasts: AppIconData.podcasts
case .books: AppIconData.books
Expand Down Expand Up @@ -149,6 +151,10 @@ struct AppIconData {
.init(label: String(localized: "Default", comment: "Default app icon name"), asset: "Default", locked: false)
}

static var original: Self {
.init(label: String(localized: "Original", comment: "Original app icon name"), asset: "Original", locked: false)
}

static var podcasts: Self {
.init(label: String(localized: "Podcasts"), asset: "Podcasts", locked: false)
}
Expand Down