From 13e6d4d94168fc46ebdfc26e3f46b6f0ecdc2088 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Katzer?= Date: Thu, 7 Feb 2019 16:38:44 +0100 Subject: [PATCH] Fix old property name --- src/android/PrintOptions.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/android/PrintOptions.java b/src/android/PrintOptions.java index e8413c6..fe759fb 100644 --- a/src/android/PrintOptions.java +++ b/src/android/PrintOptions.java @@ -89,9 +89,9 @@ class PrintOptions { break; } - if (spec.has("graystyle")) + if (spec.has("monochrome")) { - if (spec.optBoolean("graystyle")) + if (spec.optBoolean("monochrome")) { builder.setColorMode(PrintAttributes.COLOR_MODE_MONOCHROME); }