mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-17 08:35:37 -04:00
Try to fix #2
This commit is contained in:
parent
4f50f4357a
commit
9d5fc5f13b
@ -106,9 +106,9 @@ public class PojavLauncherActivity extends BaseLauncherActivity
|
|||||||
|
|
||||||
final List<String> accountList = new ArrayList<String>();
|
final List<String> accountList = new ArrayList<String>();
|
||||||
final MCProfile.Builder tempProfile = PojavProfile.getTempProfileContent(this);
|
final MCProfile.Builder tempProfile = PojavProfile.getTempProfileContent(this);
|
||||||
if (tempProfile != null) {
|
//if (tempProfile != null) {
|
||||||
accountList.add(tempProfile.getUsername());
|
// accountList.add(tempProfile.getUsername());
|
||||||
}
|
//}
|
||||||
accountList.addAll(Arrays.asList(new File(Tools.mpProfiles).list()));
|
accountList.addAll(Arrays.asList(new File(Tools.mpProfiles).list()));
|
||||||
|
|
||||||
ArrayAdapter<String> adapterAcc = new ArrayAdapter<String>(this, android.R.layout.simple_spinner_item, accountList);
|
ArrayAdapter<String> adapterAcc = new ArrayAdapter<String>(this, android.R.layout.simple_spinner_item, accountList);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user