mirror of
https://github.com/2009scape/2009Scape-mobile.git
synced 2025-12-20 13:30:15 -07:00
[Account manager] Still trying to fix wrong account path
This commit is contained in:
parent
fcdeab1935
commit
9f7f2fb62d
4 changed files with 7 additions and 18 deletions
|
|
@ -283,8 +283,6 @@ public class PojavLoginActivity extends BaseActivity
|
|||
|
||||
// Clear current profile
|
||||
PojavProfile.setCurrentProfile(this, null);
|
||||
|
||||
|
||||
}
|
||||
|
||||
private boolean isJavaRuntimeInstalled(AssetManager am) {
|
||||
|
|
@ -825,10 +823,9 @@ public class PojavLoginActivity extends BaseActivity
|
|||
try {
|
||||
String profileName = null;
|
||||
if (sRemember.isChecked() || notOnLogin) {
|
||||
profileName = new File(mProfile.save()).getName();
|
||||
profileName = mProfile.save();
|
||||
}
|
||||
profileName = profileName.substring(0, profileName.length() - 5);
|
||||
|
||||
|
||||
MCProfile.launch(PojavLoginActivity.this, profileName == null ? mProfile : profileName);
|
||||
} catch (IOException e) {
|
||||
Tools.showError(this, e);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue