David PHAM-VAN

Add changelog and format

1 # Changelog 1 # Changelog
2 2
  3 +## 5.13.2
  4 +
  5 +- Added new printing output type value on iOS [Matteo Ricupero]
  6 +
3 ## 5.13.1 7 ## 5.13.1
4 8
5 - Fix Flutter SDK Minimum version 9 - Fix Flutter SDK Minimum version
@@ -151,7 +151,8 @@ public class PrintJob: UIPrintPageRenderer, UIPrintInteractionControllerDelegate @@ -151,7 +151,8 @@ public class PrintJob: UIPrintPageRenderer, UIPrintInteractionControllerDelegate
151 151
152 for paper in paperList { 152 for paper in paperList {
153 if (paper.paperSize.width == currentSize!.width && paper.paperSize.height == currentSize!.height) || 153 if (paper.paperSize.width == currentSize!.width && paper.paperSize.height == currentSize!.height) ||
154 - (paper.paperSize.width == currentSize!.height && paper.paperSize.height == currentSize!.width) { 154 + (paper.paperSize.width == currentSize!.height && paper.paperSize.height == currentSize!.width)
  155 + {
155 return paper 156 return paper
156 } 157 }
157 } 158 }
@@ -61,9 +61,8 @@ public class PrintingPlugin: NSObject, FlutterPlugin { @@ -61,9 +61,8 @@ public class PrintingPlugin: NSObject, FlutterPlugin {
61 let printJob = PrintJob(printing: self, index: args["job"] as! Int) 61 let printJob = PrintJob(printing: self, index: args["job"] as! Int)
62 let dynamic = args["dynamic"] as! Bool 62 let dynamic = args["dynamic"] as! Bool
63 63
64 -  
65 let outputType: UIPrintInfo.OutputType 64 let outputType: UIPrintInfo.OutputType
66 - switch (args["outputType"] as! Int) { 65 + switch args["outputType"] as! Int {
67 case 0: 66 case 0:
68 outputType = UIPrintInfo.OutputType.general 67 outputType = UIPrintInfo.OutputType.general
69 case 1: 68 case 1: