diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/scenes/SupporterScene.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/scenes/SupporterScene.java index dbf725571..693d0d0a4 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/scenes/SupporterScene.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/scenes/SupporterScene.java @@ -83,7 +83,7 @@ public class SupporterScene extends PixelScene { link += "?utm_source=shatteredpd"; link += "&utm_medium=supporter_page"; link += "&utm_campaign=ingame_link"; - DeviceCompat.openURI(link); + ShatteredPixelDungeon.platform.openURI(link); } }; link.icon(Icons.get(Icons.GOLD)); diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/ui/MenuPane.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/ui/MenuPane.java index 156a78c03..ac2d4bb40 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/ui/MenuPane.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/ui/MenuPane.java @@ -146,7 +146,7 @@ public class MenuPane extends Component { protected void createChildren() { super.createChildren(); - bg = new Image( Assets.Interfaces.MENU, 2, 2, 13, 11 ); + bg = new Image( Assets.Interfaces.MENU_BTN, 2, 2, 13, 11 ); add( bg ); journalIcon = new Image( Assets.Interfaces.MENU_BTN, 31, 0, 11, 7); diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/windows/WndSupportPrompt.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/windows/WndSupportPrompt.java index ef9368651..efcc8603d 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/windows/WndSupportPrompt.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/windows/WndSupportPrompt.java @@ -22,6 +22,7 @@ package com.shatteredpixel.shatteredpixeldungeon.windows; import com.shatteredpixel.shatteredpixeldungeon.SPDSettings; +import com.shatteredpixel.shatteredpixeldungeon.ShatteredPixelDungeon; import com.shatteredpixel.shatteredpixeldungeon.messages.Languages; import com.shatteredpixel.shatteredpixeldungeon.messages.Messages; import com.shatteredpixel.shatteredpixeldungeon.scenes.PixelScene; @@ -66,7 +67,7 @@ public class WndSupportPrompt extends Window { link += "?utm_source=shatteredpd"; link += "&utm_medium=supporter_prompt"; link += "&utm_campaign=ingame_link"; - DeviceCompat.openURI(link); + ShatteredPixelDungeon.platform.openURI(link); SPDSettings.supportNagged(true); WndSupportPrompt.super.hide(); }