Browse Source

FIX: Ignore supported in quick actions and only listen to error. Resolves quick actions not appearing on non-3d touch devices.

languagerefhooks
Marcos Rodriguez 5 years ago
committed by Overtorment
parent
commit
001b814da1
  1. 4
      class/quickActions.js

4
class/quickActions.js

@ -17,8 +17,8 @@ export default class DeviceQuickActions {
if (DeviceQuickActions.shared.wallets === undefined) {
return;
}
QuickActions.isSupported((error, supported) => {
if (supported && error === null) {
QuickActions.isSupported((error, _supported) => {
if (error === null) {
let shortcutItems = [];
const loc = require('../loc/');
for (const wallet of DeviceQuickActions.shared.wallets) {

Loading…
Cancel
Save