mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-14 07:05:40 -04:00
Clean up ShowNoAccountDialog
This commit is contained in:
parent
9fc987f13f
commit
eb24f052e3
@ -707,14 +707,9 @@ public class PojavLoginActivity extends BaseActivity
|
|||||||
private void showNoAccountDialog(){
|
private void showNoAccountDialog(){
|
||||||
AlertDialog.Builder builder = new AlertDialog.Builder(PojavLoginActivity.this);
|
AlertDialog.Builder builder = new AlertDialog.Builder(PojavLoginActivity.this);
|
||||||
|
|
||||||
|
|
||||||
builder.setMessage(R.string.login_dialog_no_saved_account)
|
builder.setMessage(R.string.login_dialog_no_saved_account)
|
||||||
.setTitle(R.string.login_title_no_saved_account)
|
.setTitle(R.string.login_title_no_saved_account)
|
||||||
.setPositiveButton(android.R.string.ok, (dialog, which) -> {
|
.setPositiveButton(android.R.string.ok, null);
|
||||||
//Fucking nothing
|
|
||||||
});
|
|
||||||
|
|
||||||
|
|
||||||
AlertDialog dialog = builder.create();
|
AlertDialog dialog = builder.create();
|
||||||
dialog.show();
|
dialog.show();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user