mirror of
https://github.com/doukutsu-rs/doukutsu-rs
synced 2025-01-15 15:26:50 +00:00
Prevent "Missing data files" message box from closing
This commit is contained in:
parent
45443dfa23
commit
0e33bcaaf9
|
@ -43,6 +43,7 @@ public class MainActivity extends AppCompatActivity {
|
||||||
alert.setMessage(message);
|
alert.setMessage(message);
|
||||||
alert.setPositiveButton(android.R.string.yes, (dialog, whichButton) -> yesCallback.run());
|
alert.setPositiveButton(android.R.string.yes, (dialog, whichButton) -> yesCallback.run());
|
||||||
alert.setNegativeButton(android.R.string.no, (dialog, whichButton) -> noCallback.run());
|
alert.setNegativeButton(android.R.string.no, (dialog, whichButton) -> noCallback.run());
|
||||||
|
alert.setCancelable(false);
|
||||||
alert.show();
|
alert.show();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue