stacked notification almost fixed

This commit is contained in:
2021-08-31 18:53:26 +02:00
parent 5a7cbfcdc9
commit dc35c8b7fb
3 changed files with 59 additions and 29 deletions

View File

@@ -447,6 +447,14 @@ public class Miscellaneous extends Service
public static boolean compare(String direction, String needle, String haystack)
{
// If only one of needle or haystack is null
if(
(needle == null && haystack != null)
||
(needle != null && haystack == null)
)
return false;
switch(direction)
{
case Trigger.directionEquals: