Try to fix #2

This commit is contained in:
ArtDev 2020-12-15 11:57:55 +03:00 committed by GitHub
parent 4f50f4357a
commit 9d5fc5f13b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -106,9 +106,9 @@ public class PojavLauncherActivity extends BaseLauncherActivity
final List<String> accountList = new ArrayList<String>();
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<String> adapterAcc = new ArrayAdapter<String>(this, android.R.layout.simple_spinner_item, accountList);