Skip to content

Commit

Permalink
Merge pull request #327 from OneSignal/fix/updateMenuIcon
Browse files Browse the repository at this point in the history
Update admin menu OneSignal plugin icon to new logo
  • Loading branch information
shepherd-l authored Mar 26, 2024
2 parents 0360cdd + 035509c commit d4bf15a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions onesignal-admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -525,12 +525,15 @@ public static function saveStringSettings(&$onesignal_wp_settings, &$config, $se

public static function add_admin_page()
{
$onesignal_logo_svg = 'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAwIiBoZWlnaHQ9IjMwMCIgdmlld0JveD0iMCAwIDMwMCAzMDAiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xNDkuNzAyIDAuMDAwMjg4MzI0QzY2Ljk0NDQgMC4xNjEyMDYgLTAuNDY4ODA1IDY4LjEwODkgMC4wMDI0NTU4NSAxNTAuODY3QzAuNDE2MjQ2IDIyOC4xNTkgNTkuMzU4MyAyOTEuNjEzIDEzNC43NiAyOTkuMjIyQzEzNSAyOTkuMjQ2IDEzNS4yNDMgMjk5LjIxOSAxMzUuNDczIDI5OS4xNDRDMTM1LjcwMiAyOTkuMDY4IDEzNS45MTMgMjk4Ljk0NSAxMzYuMDkyIDI5OC43ODJDMTM2LjI3MSAyOTguNjIgMTM2LjQxNCAyOTguNDIxIDEzNi41MTEgMjk4LjJDMTM2LjYwOCAyOTcuOTc5IDEzNi42NTggMjk3LjczOSAxMzYuNjU2IDI5Ny40OThWMTQ5Ljk5OUgxMjUuMDM2QzEyNC41NzkgMTQ5Ljk5OSAxMjQuMTQgMTQ5LjgxNyAxMjMuODE3IDE0OS40OTRDMTIzLjQ5MyAxNDkuMTcxIDEyMy4zMTIgMTQ4LjczMiAxMjMuMzEyIDE0OC4yNzVWMTI1LjAyMkMxMjMuMzEyI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al_menu = add_menu_page('OneSignal Push',
'OneSignal Push',
'manage_options',
'onesignal-push',
array(__CLASS__, 'admin_menu')
);
array(__CLASS__, 'admin_menu'),
$onesignal_logo_svg
);

OneSignal_Admin::save_config_settings_form();

Expand Down
Binary file removed views/images/menu_icon.png
Binary file not shown.

0 comments on commit d4bf15a

Please sign in to comment.