diff --git a/Delta/Database/Repair/GamePickerViewController.swift b/Delta/Database/Repair/GamePickerViewController.swift index 95b1f10..364f78f 100644 --- a/Delta/Database/Repair/GamePickerViewController.swift +++ b/Delta/Database/Repair/GamePickerViewController.swift @@ -62,7 +62,7 @@ private extension GamePickerViewController configuration.secondaryText = game.identifier configuration.secondaryTextProperties.font = .preferredFont(forTextStyle: .caption1) - configuration.image = UIImage(resource: .boxArt) + configuration.image = UIImage(named: "BoxArt") configuration.imageProperties.maximumSize = CGSize(width: 48, height: 48) configuration.imageProperties.reservedLayoutSize = CGSize(width: 48, height: 48) configuration.imageProperties.cornerRadius = 4 diff --git a/Delta/Extensions/OSLog+Delta.swift b/Delta/Extensions/OSLog+Delta.swift index af16879..eeee98e 100644 --- a/Delta/Extensions/OSLog+Delta.swift +++ b/Delta/Extensions/OSLog+Delta.swift @@ -26,13 +26,13 @@ extension OSLogEntryLog.Level var localizedName: String { switch self { - case .undefined: NSLocalizedString("Undefined", comment: "") - case .debug: NSLocalizedString("Debug", comment: "") - case .info: NSLocalizedString("Info", comment: "") - case .notice: NSLocalizedString("Notice", comment: "") - case .error: NSLocalizedString("Error", comment: "") - case .fault: NSLocalizedString("Fault", comment: "") - @unknown default: NSLocalizedString("Unknown", comment: "") + case .undefined: return NSLocalizedString("Undefined", comment: "") + case .debug: return NSLocalizedString("Debug", comment: "") + case .info: return NSLocalizedString("Info", comment: "") + case .notice: return NSLocalizedString("Notice", comment: "") + case .error: return NSLocalizedString("Error", comment: "") + case .fault: return NSLocalizedString("Fault", comment: "") + @unknown default: return NSLocalizedString("Unknown", comment: "") } } }