diff --git a/client/src/main/java/ctbrec/ui/tabs/DonateTabFx.java b/client/src/main/java/ctbrec/ui/tabs/DonateTabFx.java index d4a221ea..89e20311 100644 --- a/client/src/main/java/ctbrec/ui/tabs/DonateTabFx.java +++ b/client/src/main/java/ctbrec/ui/tabs/DonateTabFx.java @@ -40,7 +40,7 @@ public class DonateTabFx extends Tab { ImageView coffeeImage = new ImageView(getClass().getResource("/buymeacoffee-round.png").toString()); Button coffeeButton = new Button("Buy me a coffee"); coffeeButton.setPadding(new Insets(5)); - coffeeButton.setOnMouseClicked((e) -> { DesktopIntegration.open("https://www.buymeacoffee.com/0xboobface"); }); + coffeeButton.setOnMouseClicked(e -> DesktopIntegration.open("https://www.buymeacoffee.com/0xboobface")); VBox buyCoffeeBox = new VBox(5); buyCoffeeBox.setAlignment(Pos.TOP_CENTER); buyCoffeeBox.getChildren().addAll(coffeeImage, coffeeButton); @@ -48,18 +48,18 @@ public class DonateTabFx extends Tab { ImageView paypalImage = new ImageView(getClass().getResource("/paypal-round.png").toString()); Button paypalButton = new Button("PayPal"); paypalButton.setPadding(new Insets(5)); - paypalButton.setOnMouseClicked((e) -> { DesktopIntegration.open("https://www.paypal.me/0xb00bface"); }); + paypalButton.setOnMouseClicked(e -> DesktopIntegration.open("https://www.paypal.me/0xb00bface")); VBox paypalBox = new VBox(5); paypalBox.setAlignment(Pos.TOP_CENTER); paypalBox.getChildren().addAll(paypalImage, paypalButton); - ImageView patreonImage = new ImageView(getClass().getResource("/patreon-round.png").toString()); - Button patreonButton = new Button("Become a Patron"); - patreonButton.setPadding(new Insets(5)); - patreonButton.setOnMouseClicked((e) -> { DesktopIntegration.open("https://www.patreon.com/0xb00bface"); }); + ImageView kofiImage = new ImageView(getClass().getResource("/kofi-round.png").toString()); + Button kofiButton = new Button("Ko-fi"); + kofiButton.setPadding(new Insets(5)); + kofiButton.setOnMouseClicked(e -> DesktopIntegration.open("https://ko-fi.com/0xb00bface")); VBox patreonBox = new VBox(5); patreonBox.setAlignment(Pos.TOP_CENTER); - patreonBox.getChildren().addAll(patreonImage, patreonButton); + patreonBox.getChildren().addAll(kofiImage, kofiButton); int prefWidth = 360; TextField bitcoinAddress = new TextField("15sLWZon8diPqAX4UdPQU1DcaPuvZs2GgA"); diff --git a/client/src/main/resources/kofi-round.png b/client/src/main/resources/kofi-round.png new file mode 100644 index 00000000..412a0a66 Binary files /dev/null and b/client/src/main/resources/kofi-round.png differ diff --git a/client/src/main/resources/kofi-round600.png b/client/src/main/resources/kofi-round600.png new file mode 100644 index 00000000..995171ea Binary files /dev/null and b/client/src/main/resources/kofi-round600.png differ