Fix old property name

This commit is contained in:
Sebastián Katzer 2019-02-07 16:38:44 +01:00
parent ec4f721270
commit 13e6d4d941

View File

@ -89,9 +89,9 @@ class PrintOptions {
break; break;
} }
if (spec.has("graystyle")) if (spec.has("monochrome"))
{ {
if (spec.optBoolean("graystyle")) if (spec.optBoolean("monochrome"))
{ {
builder.setColorMode(PrintAttributes.COLOR_MODE_MONOCHROME); builder.setColorMode(PrintAttributes.COLOR_MODE_MONOCHROME);
} }