Rename option "printerId" to "printer"

This commit is contained in:
Sebastián Katzer 2019-02-06 11:53:30 +01:00
parent d74bd6c4b6
commit b34927d4a4

View File

@ -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(), ^{