From df0da2422a0a8cd44d63b3e24a201f0d7d55c8a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diefferson=20M=C3=B4ro?= Date: Tue, 7 Oct 2025 22:20:04 -0300 Subject: [PATCH] Fix Action Push Native silent logic --- lib/noticed/delivery_methods/action_push_native.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/noticed/delivery_methods/action_push_native.rb b/lib/noticed/delivery_methods/action_push_native.rb index 5f0a103f..0e0299dc 100644 --- a/lib/noticed/delivery_methods/action_push_native.rb +++ b/lib/noticed/delivery_methods/action_push_native.rb @@ -4,7 +4,7 @@ class ActionPushNative < DeliveryMethod required_options :devices, :format def deliver - notification = evaluate_option(:silent) ? notification_class : notification_class.silent + notification = (!!evaluate_option(:silent)) ? notification_class.silent : notification_class notification .with_apple(evaluate_option(:with_apple))