Showing
3 changed files
with
4 additions
and
1 deletions
| @@ -80,7 +80,8 @@ public class PrintingPlugin extends PrintDocumentAdapter implements MethodCallHa | @@ -80,7 +80,8 @@ public class PrintingPlugin extends PrintDocumentAdapter implements MethodCallHa | ||
| 80 | return; | 80 | return; |
| 81 | } | 81 | } |
| 82 | 82 | ||
| 83 | - final MethodChannel channel = new MethodChannel(registrar.messenger(), "net.nfet.printing"); | 83 | + final MethodChannel channel = |
| 84 | + new MethodChannel(registrar.messenger(), "net.nfet.printing"); | ||
| 84 | final PrintingPlugin plugin = new PrintingPlugin(activity, channel); | 85 | final PrintingPlugin plugin = new PrintingPlugin(activity, channel); |
| 85 | channel.setMethodCallHandler(plugin); | 86 | channel.setMethodCallHandler(plugin); |
| 86 | 87 |
-
Please register or login to post a comment