From 23e345202aedf2e85556efd2e98ff54c22aadc74 Mon Sep 17 00:00:00 2001 From: thyttan <6uuxstm66@mozmail.com⁩> Date: Tue, 7 Feb 2023 19:40:07 +0100 Subject: [PATCH] remove some bool --- apps/backswipe/boot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/backswipe/boot.js b/apps/backswipe/boot.js index 8acd5244c..337718dec 100644 --- a/apps/backswipe/boot.js +++ b/apps/backswipe/boot.js @@ -16,7 +16,7 @@ var currentFile = global.__FILE__ || ""; if (global.BACK) delete global.BACK; - if (options && options.back && enabledForApp(currentFile) && !((Bangle["#onswipe"] instanceof Array)&&Bangle["#onswipe"].length>1 )) { + if (options && options.back && enabledForApp(currentFile)) { global.BACK = options.back; } setUI(mode, cb);