From 3e4737d6e9a2b0f1e12683b44176101244dfd1cd Mon Sep 17 00:00:00 2001 From: Sander van Grieken Date: Wed, 5 Apr 2023 11:38:38 +0200 Subject: [PATCH] qml: haptic override global setting --- electrum/gui/qml/qeapp.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/electrum/gui/qml/qeapp.py b/electrum/gui/qml/qeapp.py index 31f62b4d1..6de90d133 100644 --- a/electrum/gui/qml/qeapp.py +++ b/electrum/gui/qml/qeapp.py @@ -293,7 +293,8 @@ class QEAppController(BaseCrashReporter, QObject): def haptic(self): if not self.isAndroid(): return - jview.performHapticFeedback(jHfc.CONFIRM) + # TODO: deprecated from API 33 + jview.performHapticFeedback(jHfc.VIRTUAL_KEY, jHfc.FLAG_IGNORE_GLOBAL_SETTING) class ElectrumQmlApplication(QGuiApplication):