Update SplashScreen.java

This commit is contained in:
Anthony Calosa
2022-11-17 21:23:36 +08:00
committed by GitHub
parent 7179787b3b
commit 31606bedf5

View File

@@ -226,7 +226,7 @@ public class SplashScreen extends FContainer {
btnAdventure.setCommand(new FEvent.FEventHandler() { btnAdventure.setCommand(new FEvent.FEventHandler() {
@Override @Override
public void handleEvent(FEvent e) { public void handleEvent(FEvent e) {
if (FSkin.hdLogo == null) { if (FSkin.getLogo() == null) {
hideBG = true; hideBG = true;
hideBtn = true; hideBtn = true;
bgAnimation.progress = 0; bgAnimation.progress = 0;
@@ -242,7 +242,7 @@ public class SplashScreen extends FContainer {
btnHome.setCommand(new FEvent.FEventHandler() { btnHome.setCommand(new FEvent.FEventHandler() {
@Override @Override
public void handleEvent(FEvent e) { public void handleEvent(FEvent e) {
if (FSkin.hdLogo == null) { if (FSkin.getLogo() == null) {
hideBG = true; hideBG = true;
hideBtn = true; hideBtn = true;
bgAnimation.progress = 0; bgAnimation.progress = 0;