Skip to content

Commit

Permalink
Avoid null pointer exception when showing tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
devgianlu committed Nov 11, 2023
1 parent df04851 commit 1450874
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/src/main/java/com/gianlu/aria2app/main/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -866,7 +866,8 @@ public void onItemCountUpdated(int count) {
recyclerViewLayout.showList();
}

tutorialManager.tryShowingTutorials(this);
if (tutorialManager != null)
tutorialManager.tryShowingTutorials(this);
}

@Override
Expand Down

0 comments on commit 1450874

Please sign in to comment.