Open authorization method selector when clicking "Play" with no accounts

This commit is contained in:
artdeell 2022-11-13 13:05:13 +03:00 committed by ArtDev
parent 380c72bfc2
commit 1067a92e7b

View File

@ -129,6 +129,7 @@ public class LauncherActivity extends BaseActivity {
if(mAccountSpinner.getSelectedAccount() == null){
Toast.makeText(this, R.string.no_saved_accounts, Toast.LENGTH_LONG).show();
ExtraCore.setValue(ExtraConstants.SELECT_AUTH_METHOD, true);
return false;
}
String normalizedVersionId = AsyncMinecraftDownloader.normalizeVersionId(prof.lastVersionId);