From b34927d4a4b7acb2f0d47907d61ad2bf20e68ba6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Katzer?= Date: Wed, 6 Feb 2019 11:53:30 +0100 Subject: [PATCH] Rename option "printerId" to "printer" --- src/ios/APPPrinter.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ios/APPPrinter.m b/src/ios/APPPrinter.m index b4b40d0..64d5280 100755 --- a/src/ios/APPPrinter.m +++ b/src/ios/APPPrinter.m @@ -221,7 +221,7 @@ toPrintItem:(id)item withSettings:(NSDictionary *)settings { - NSString* printer = settings[@"printerId"]; + NSString* printer = settings[@"printer"]; if ([item isKindOfClass:UIPrintFormatter.class]) { @@ -256,7 +256,7 @@ withSettings:(NSDictionary *)settings { NSString* callbackId = settings[@"callbackId"]; - NSString* printerURL = settings[@"printerId"]; + NSString* printerURL = settings[@"printer"]; UIPrinter* printer = [self printerWithURL:printerURL]; dispatch_async(dispatch_get_main_queue(), ^{