Skip to content

Commit

Permalink
more fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Ishan09811 authored Feb 11, 2024
1 parent a1ae72c commit 62147bd
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,14 @@ public void run() {
AlertDialog.Builder builder = new AlertDialog.Builder(context);
builder.setTitle("Failed to load ROM")
.setMessage("Make sure it's a valid 3DS ROM and that storage permissions are configured properly.")
.setPositiveButton("OK", null)
.setPositiveButton("OK", new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
// Finish the activity when OK is clicked
requireActivity().finish();
}
})
.setCancelable(false)
.show();
}
};
Expand Down

0 comments on commit 62147bd

Please sign in to comment.