Skip to content

Commit

Permalink
add bundle reference
Browse files Browse the repository at this point in the history
  • Loading branch information
StefaniOSApps committed Jun 26, 2020
1 parent 35cfabb commit f3bbe34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BIASystemKit/UIDevice/DeviceHelper.swift
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ private extension DeviceHelper {
static let simulatorList = devices(filename: "device-map-simulator")

private static func devices(filename: String) -> [DeviceMap] {
guard let url = Bundle(for: self).url(forResource: filename, withExtension: "json") else { return [] }
guard let url = Bundle(for: DeviceHelper.self).url(forResource: filename, withExtension: "json") else { return [] }

do {
let data = try Data(contentsOf: url)
Expand Down

0 comments on commit f3bbe34

Please sign in to comment.