Skip to content

Commit

Permalink
Adding PNG logo to avoid scale up taking up too much space if no CSS …
Browse files Browse the repository at this point in the history
…rules prevent it on 3rd party themes.
  • Loading branch information
ndeet committed Feb 21, 2022
1 parent 379aac4 commit e1c888b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Binary file added assets/images/btcpay-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions btcpay-greenfield-for-woocommerce.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* Author URI: https://btcpayserver.org
* Text Domain: btcpay-greenfield-for-woocommerce
* Domain Path: /languages
* Version: 0.2.0
* Version: 0.2.1
* Requires PHP: 7.4
* Tested up to: 5.9
* Requires at least: 5.2
Expand All @@ -20,7 +20,7 @@

defined( 'ABSPATH' ) || exit();

define( 'BTCPAYSERVER_VERSION', '0.2.0' );
define( 'BTCPAYSERVER_VERSION', '0.2.1' );
define( 'BTCPAYSERVER_PLUGIN_FILE_PATH', plugin_dir_path( __FILE__ ) );
define( 'BTCPAYSERVER_PLUGIN_URL', plugin_dir_url(__FILE__ ) );
define( 'BTCPAYSERVER_PLUGIN_ID', 'btcpay-greenfield-for-woocommerce' );
Expand Down
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Tags: bitcoin, btcpay, BTCPay Server, btcpayserver, WooCommerce, payment gateway
Requires at least: 5.2
Tested up to: 5.9
Requires PHP: 7.4
Stable tag: 0.2.0
Stable tag: 0.2.1
License: MIT
License URI: https://github.com/btcpayserver/woocommerce-greenfield-plugin/blob/master/license.txt

Expand Down
2 changes: 1 addition & 1 deletion src/Gateway/AbstractGateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ public function getIcon(): string {
if ($mediaId = $this->get_option(self::ICON_MEDIA_OPTION)) {
return wp_get_attachment_image_src($mediaId)[0];
} else {
return BTCPAYSERVER_PLUGIN_URL . 'assets/images/btcpay-logo.svg';
return BTCPAYSERVER_PLUGIN_URL . 'assets/images/btcpay-logo.png';
}
}

Expand Down

0 comments on commit e1c888b

Please sign in to comment.