From 7bd7dd892e20bcfa84399e49e82dfaa9f603e4d8 Mon Sep 17 00:00:00 2001 From: Stuart Breckenridge Date: Tue, 27 Oct 2020 17:56:42 +0800 Subject: [PATCH] Removes dead code --- Shared/AccountType+Helpers.swift | 57 -------------------------------- 1 file changed, 57 deletions(-) diff --git a/Shared/AccountType+Helpers.swift b/Shared/AccountType+Helpers.swift index 4aa9dba15..fc1a5d221 100644 --- a/Shared/AccountType+Helpers.swift +++ b/Shared/AccountType+Helpers.swift @@ -17,63 +17,6 @@ import UIKit extension AccountType { // TODO: Move this to the Account Package. - // Colors - - #if os(macOS) - func iconColor() -> NSColor { - switch self { - case .onMyMac: - return NSColor(named: "localColor")! - case .bazQux: - return NSColor(named: "bazquxColor")! - case .cloudKit: - return NSColor(named: "cloudkitColor")! - case .feedWrangler: - return NSColor(named: "feedwranglerColor")! - case .feedbin: - return NSColor(named: "feedbinColor")! - case .feedly: - return NSColor(named: "feedlyColor")! - case .freshRSS: - return NSColor(named: "freshRSSColor")! - case .inoreader: - return NSColor(named: "inoreaderColor")! - case .newsBlur: - return NSColor(named: "newsblurColor")! - case .theOldReader: - return NSColor(named: "theoldreaderColor")! - default: - return NSColor.blue - } - } - #else - func iconColor() -> UIColor { - switch self { - case .onMyMac: - return UIColor(named: "localColor")! - case .bazQux: - return UIColor(named: "bazquxColor")! - case .cloudKit: - return UIColor(named: "cloudkitColor")! - case .feedWrangler: - return UIColor(named: "feedwranglerColor")! - case .feedbin: - return UIColor(named: "feedbinColor")! - case .feedly: - return UIColor(named: "feedlyColor")! - case .freshRSS: - return UIColor(named: "freshRSSColor")! - case .inoreader: - return UIColor(named: "inoreaderColor")! - case .newsBlur: - return UIColor(named: "newsblurColor")! - case .theOldReader: - return UIColor(named: "theoldreaderColor")! - default: - return UIColor.blue - } - } - #endif func localizedAccountName() -> String {