From 9d5fc5f13b52d66a5eeb8f43d951e3312b189038 Mon Sep 17 00:00:00 2001 From: ArtDev <45949002+artdeell@users.noreply.github.com> Date: Tue, 15 Dec 2020 11:57:55 +0300 Subject: [PATCH] Try to fix #2 --- .../java/net/kdt/pojavlaunch/PojavLauncherActivity.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/net/kdt/pojavlaunch/PojavLauncherActivity.java b/app/src/main/java/net/kdt/pojavlaunch/PojavLauncherActivity.java index d0b81d4e3..6a8dcdb25 100644 --- a/app/src/main/java/net/kdt/pojavlaunch/PojavLauncherActivity.java +++ b/app/src/main/java/net/kdt/pojavlaunch/PojavLauncherActivity.java @@ -106,9 +106,9 @@ public class PojavLauncherActivity extends BaseLauncherActivity final List accountList = new ArrayList(); final MCProfile.Builder tempProfile = PojavProfile.getTempProfileContent(this); - if (tempProfile != null) { - accountList.add(tempProfile.getUsername()); - } + //if (tempProfile != null) { + // accountList.add(tempProfile.getUsername()); + //} accountList.addAll(Arrays.asList(new File(Tools.mpProfiles).list())); ArrayAdapter adapterAcc = new ArrayAdapter(this, android.R.layout.simple_spinner_item, accountList);