File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ public function is_available(type_interface $notification_type = null): bool
101101 */
102102 public function is_enabled_by_default ()
103103 {
104- return $ this ->config ['wpn_webpush_method_enabled ' ];
104+ return ( bool ) $ this ->config ['wpn_webpush_method_enabled ' ];
105105 }
106106
107107 /**
@@ -205,7 +205,7 @@ protected function notify_using_webpush(): void
205205 // Fix encryption payload size for Firefox on Android
206206 if (preg_match ('/android.*firefox/i ' , $ this ->user ->browser ))
207207 {
208- $ web_push ->setAutomaticPadding (2820 );
208+ $ web_push ->setAutomaticPadding (2000 );
209209 }
210210
211211 $ number_of_notifications = 0 ;
Original file line number Diff line number Diff line change 1818 display : flex;
1919 flex-wrap : nowrap;
2020 justify-content : space-between;
21- padding : 5px 25 px ;
21+ padding : 5px 10 px ;
2222}
2323
2424.wpn-notification-dropdown-footer button : disabled {
You can’t perform that action at this time.
0 commit comments