diff --git a/JellyfinPlayer/SettingsView.swift b/JellyfinPlayer/SettingsView.swift index 4ac4ee3d..4625709c 100644 --- a/JellyfinPlayer/SettingsView.swift +++ b/JellyfinPlayer/SettingsView.swift @@ -32,7 +32,7 @@ struct SettingsView: View { Text("User") Spacer() Text(SessionManager.current.user.username ?? "") - .foregroundColor(.JellyfinPurple) + .foregroundColor(.jellyfinPurple) } NavigationLink( @@ -42,7 +42,7 @@ struct SettingsView: View { Text("Server") Spacer() Text(ServerEnvironment.current.server.name ?? "") - .foregroundColor(.JellyfinPurple) + .foregroundColor(.jellyfinPurple) } }) diff --git a/JellyfinPlayer/VideoUpNextView.swift b/JellyfinPlayer/VideoUpNextView.swift index ab1b31bd..5348d983 100644 --- a/JellyfinPlayer/VideoUpNextView.swift +++ b/JellyfinPlayer/VideoUpNextView.swift @@ -45,7 +45,7 @@ struct VideoUpNextView: View { .font(.subheadline) } .frame(width: 120, height: 35) - .background(Color.JellyfinPurple) + .background(Color.jellyfinPurple) .cornerRadius(10) }.buttonStyle(PlainButtonStyle()) .frame(width: 120, height: 35) diff --git a/Shared/Extensions/ColorExtension.swift b/Shared/Extensions/ColorExtension.swift index 40b65a74..c4963fc3 100644 --- a/Shared/Extensions/ColorExtension.swift +++ b/Shared/Extensions/ColorExtension.swift @@ -11,6 +11,6 @@ import SwiftUI extension Color { - static let JellyfinPurple = Color(red: 172 / 255, green: 92 / 255, blue: 195 / 255) + static let jellyfinPurple = Color(red: 172 / 255, green: 92 / 255, blue: 195 / 255) }