From dbb53fbdd5b3b93060c9570c5a975f72846ac77a Mon Sep 17 00:00:00 2001 From: Daniele Gobbetti Date: Thu, 24 Jul 2025 18:48:09 +0200 Subject: [PATCH] fixup! Printer: allow printing incoming text shared to Gadgetbridge Use the correct default for the preference in the support class --- .../devices/thermalprinter/GenericThermalPrinterSupport.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/thermalprinter/GenericThermalPrinterSupport.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/thermalprinter/GenericThermalPrinterSupport.java index 663b238a50..aa56089f0d 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/thermalprinter/GenericThermalPrinterSupport.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/thermalprinter/GenericThermalPrinterSupport.java @@ -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; }