Skip to content

Commit

Permalink
Add 512x512 icon, closes #50
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandra Anghel committed Aug 27, 2018
1 parent 59edc28 commit fdf37eb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion admin/pages/theme-settings.php
Expand Up @@ -342,7 +342,7 @@
<div class="notice notice-left right" style="width: 265px;">
<span>
Add your logo in a .png format with a transparent background. This will be displayed on the cover of your app.<br /><br />
Your icon should be square with a recommended size of 256 x 256 px. This will be displayed when the app will be added to the homescreen.<br /><br />
Your icon should be square with a recommended size of 512 x 512 px. This will be displayed when the app will be added to the homescreen.<br /><br />
The file size for uploaded images should not exceed 1MB.
</span>
</div>
Expand Down
6 changes: 3 additions & 3 deletions inc/class-wmp-uploads.php
Expand Up @@ -24,8 +24,8 @@ class WMobilePack_Uploads
'extensions' => array('png')
),
'icon' => array(
'max_width' => 256,
'max_height' => 256,
'max_width' => 512,
'max_height' => 512,
'extensions' => array('jpg', 'jpeg', 'png','gif')
),
'cover' => array(
Expand All @@ -40,7 +40,7 @@ class WMobilePack_Uploads
),
);

public static $manifest_sizes = array(48, 96, 144, 196);
public static $manifest_sizes = array(48, 96, 144, 196, 512);

protected static $htaccess_template = 'frontend/sections/htaccess-template.txt';

Expand Down

0 comments on commit fdf37eb

Please sign in to comment.