From 0c83f363eb543beb1729d0095360fe84dbf32ecd Mon Sep 17 00:00:00 2001 From: Sander van Grieken Date: Wed, 5 Apr 2023 12:28:56 +0200 Subject: [PATCH] qml: haptic use constant compatible with older android --- electrum/gui/qml/qeapp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrum/gui/qml/qeapp.py b/electrum/gui/qml/qeapp.py index 31f62b4d1..05e2a2c4f 100644 --- a/electrum/gui/qml/qeapp.py +++ b/electrum/gui/qml/qeapp.py @@ -293,7 +293,7 @@ class QEAppController(BaseCrashReporter, QObject): def haptic(self): if not self.isAndroid(): return - jview.performHapticFeedback(jHfc.CONFIRM) + jview.performHapticFeedback(jHfc.VIRTUAL_KEY) class ElectrumQmlApplication(QGuiApplication):