Showing
1 changed file
with
1 additions
and
1 deletions
@@ -217,7 +217,7 @@ class MethodChannelPrinting extends PrintingPlatform { | @@ -217,7 +217,7 @@ class MethodChannelPrinting extends PrintingPlatform { | ||
217 | 'w': bounds.width, | 217 | 'w': bounds.width, |
218 | 'h': bounds.height, | 218 | 'h': bounds.height, |
219 | }; | 219 | }; |
220 | - return await _channel.invokeMethod('sharePdf', params); | 220 | + return await _channel.invokeMethod<int>('sharePdf', params) != 0; |
221 | } | 221 | } |
222 | 222 | ||
223 | @override | 223 | @override |
-
Please register or login to post a comment