mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-16 08:05:34 -04:00
[V2 UI account switcher] Fix not working
This commit is contained in:
parent
6566b607a7
commit
835c34fb96
@ -131,7 +131,7 @@ public class PojavLauncherActivity extends BaseLauncherActivity
|
|||||||
if (tempProfile != null && position == 0) {
|
if (tempProfile != null && position == 0) {
|
||||||
PojavProfile.setCurrentProfile(PojavLauncherActivity.this, tempProfile);
|
PojavProfile.setCurrentProfile(PojavLauncherActivity.this, tempProfile);
|
||||||
} else {
|
} else {
|
||||||
PojavProfile.setCurrentProfile(PojavLauncherActivity.this, accountList.get(position + (tempProfile != null ? 1 : 0)));
|
PojavProfile.setCurrentProfile(PojavLauncherActivity.this, Tools.mpProfiles + "/" + accountList.get(position + (tempProfile != null ? 1 : 0)));
|
||||||
}
|
}
|
||||||
pickAccount();
|
pickAccount();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user