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))