diff --git a/Repositories/Cydia/CydiaIcon.png b/Repositories/Cydia/CydiaIcon.png new file mode 100644 index 0000000..30282d2 Binary files /dev/null and b/Repositories/Cydia/CydiaIcon.png differ diff --git a/Repositories/Cydia/CydiaIcon@2x.png b/Repositories/Cydia/CydiaIcon@2x.png new file mode 100644 index 0000000..ab26d7f Binary files /dev/null and b/Repositories/Cydia/CydiaIcon@2x.png differ diff --git a/Repositories/Cydia/CydiaIcon@3x.png b/Repositories/Cydia/CydiaIcon@3x.png new file mode 100644 index 0000000..613239c Binary files /dev/null and b/Repositories/Cydia/CydiaIcon@3x.png differ diff --git a/Sources/EeveeSpotify/Models/Extensions/Color+Extension.swift b/Sources/EeveeSpotify/Models/Extensions/Color+Extension.swift index 6cdb24d..2dbeaa7 100644 --- a/Sources/EeveeSpotify/Models/Extensions/Color+Extension.swift +++ b/Sources/EeveeSpotify/Models/Extensions/Color+Extension.swift @@ -2,9 +2,7 @@ import SwiftUI import UIKit extension Color { - init(hex: String) { - let hex = hex.trimmingCharacters(in: CharacterSet.alphanumerics.inverted) var int: UInt64 = 0 Scanner(string: hex).scanHexInt64(&int) diff --git a/Sources/EeveeSpotify/Models/Extensions/Data+Extension.swift b/Sources/EeveeSpotify/Models/Extensions/Data+Extension.swift index ae1c86a..a71bbb2 100644 --- a/Sources/EeveeSpotify/Models/Extensions/Data+Extension.swift +++ b/Sources/EeveeSpotify/Models/Extensions/Data+Extension.swift @@ -1,7 +1,6 @@ import Foundation extension Data { - static func random(_ length: Int) -> Data { return Data((0 ..< length).map { _ in UInt8.random(in: UInt8.min ... UInt8.max) }) }