From df23f59e9dedb4c5c7c8ac0a8cc66b3278aec16c Mon Sep 17 00:00:00 2001 From: Jonathan Schleifer Date: Sat, 18 Jun 2022 13:15:39 +0000 Subject: [PATCH] [iOS] Fix using key files FossilOrigin-Name: 882469f9d53d9bf62beb31a6b808f557ee799b16ae793515d25b1ceccc23648f --- iOS/ShowDetailsController.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iOS/ShowDetailsController.swift b/iOS/ShowDetailsController.swift index 3c7894b..04ff3df 100644 --- a/iOS/ShowDetailsController.swift +++ b/iOS/ShowDetailsController.swift @@ -147,8 +147,8 @@ class ShowDetailsController: UITableViewController, UITextFieldDelegate { return } - let keyFilePath = - documentDirectory.ofObject.appending(keyFile.ofObject) + let keyFilePath = documentDirectory.ofObject.appendingPathComponent( + keyFile.ofObject) generator.keyFile = OFMutableData(contentsOfFile: keyFilePath) }