Skip to content

Commit df0da24

Browse files
committed
Fix Action Push Native silent logic
1 parent 05fd209 commit df0da24

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/noticed/delivery_methods/action_push_native.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ class ActionPushNative < DeliveryMethod
44
required_options :devices, :format
55

66
def deliver
7-
notification = evaluate_option(:silent) ? notification_class : notification_class.silent
7+
notification = (!!evaluate_option(:silent)) ? notification_class.silent : notification_class
88

99
notification
1010
.with_apple(evaluate_option(:with_apple))

0 commit comments

Comments
 (0)