mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-17 00:29:50 -04:00
[V2 UI temp acc] final attempt
This commit is contained in:
parent
c486a56b1d
commit
6566b607a7
@ -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