Skip to content

Commit

Permalink
fx
Browse files Browse the repository at this point in the history
  • Loading branch information
Ishan09811 authored Feb 12, 2024
1 parent 4861334 commit 1322e8f
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,8 @@ public void run() {
private void showLoadingDialog() {
AlertDialog.Builder builder = new AlertDialog.Builder(context);
builder.setTitle("Loading Game")
builder.setPositiveButton("OK", null)
builder.setCancelable(false)
builder.setView(R.layout.progress_dialog);
.setCancelable(false)
.setView(R.layout.progress_dialog);
alertDialog = builder.create();
alertDialog.show();
}
Expand Down Expand Up @@ -143,7 +142,9 @@ public void run() {
GameMetadata game = GameUtils.getCurrentGame();
GameUtils.removeGame(game);
return;
}
} else {
hideLoadingDialog();
}
}
}, 3000);

Expand Down

0 comments on commit 1322e8f

Please sign in to comment.