fixup! Printer: allow printing incoming text shared to Gadgetbridge

Use the correct default for the preference in the support class
This commit is contained in:
Daniele Gobbetti
2025-07-24 18:48:09 +02:00
parent b8eb3c2db5
commit dbb53fbdd5
@@ -123,7 +123,7 @@ public class GenericThermalPrinterSupport extends AbstractBTLESingleDeviceSuppor
public void onNotification(NotificationSpec notificationSpec) {
if(notificationSpec.type.equals(NotificationType.GADGETBRIDGE_TEXT_RECEIVER)) {
final SharedPreferences prefs = GBApplication.getDeviceSpecificSharedPrefs(getDevice().getAddress());
if(!prefs.getBoolean("pref_printer_print_received_text", false)) {
if(!prefs.getBoolean("pref_printer_print_received_text", true)) {
LOG.info("Not printing received text, device preference forbids this.");
return;
}