fix: prefer module bundle for device models
This commit is contained in:
@@ -122,6 +122,10 @@ enum DeviceModelCatalog {
|
||||
}
|
||||
|
||||
private static func locateResourceBundle() -> Bundle? {
|
||||
if let bundle = self.bundleIfContainsDeviceModels(Bundle.module) {
|
||||
return bundle
|
||||
}
|
||||
|
||||
if let bundle = self.bundleIfContainsDeviceModels(Bundle.main) {
|
||||
return bundle
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user