1
0

qml: haptic override global setting

This commit is contained in:
Sander van Grieken
2023-04-05 11:38:38 +02:00
parent db4943ff86
commit 3e4737d6e9

View File

@@ -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):