From ff340c2449a83c890d9d8a0a5291732ab4f66c1c Mon Sep 17 00:00:00 2001 From: Craig Raw Date: Mon, 24 Oct 2022 14:43:53 +0200 Subject: [PATCH] followup to test taskbar user attention feature support --- .../com/sparrowwallet/sparrow/soroban/SorobanController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/sparrowwallet/sparrow/soroban/SorobanController.java b/src/main/java/com/sparrowwallet/sparrow/soroban/SorobanController.java index e69cc1ab..f0e75a08 100644 --- a/src/main/java/com/sparrowwallet/sparrow/soroban/SorobanController.java +++ b/src/main/java/com/sparrowwallet/sparrow/soroban/SorobanController.java @@ -122,7 +122,7 @@ public class SorobanController { } protected void requestUserAttention() { - if(Taskbar.isTaskbarSupported()) { + if(Taskbar.isTaskbarSupported() && Taskbar.getTaskbar().isSupported(Taskbar.Feature.USER_ATTENTION)) { Taskbar.getTaskbar().requestUserAttention(true, false); } }