We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05fd209 commit df0da24Copy full SHA for df0da24
1 file changed
lib/noticed/delivery_methods/action_push_native.rb
@@ -4,7 +4,7 @@ class ActionPushNative < DeliveryMethod
4
required_options :devices, :format
5
6
def deliver
7
- notification = evaluate_option(:silent) ? notification_class : notification_class.silent
+ notification = (!!evaluate_option(:silent)) ? notification_class.silent : notification_class
8
9
notification
10
.with_apple(evaluate_option(:with_apple))
0 commit comments