Skip to content

Commit

Permalink
#451 Toggle checkboxes in view mode
Browse files Browse the repository at this point in the history
Print stacktrace on IndexOutOfBoundsException
  • Loading branch information
stefan-niedermann committed Jan 2, 2020
1 parent 1c4ccda commit 6afcca8
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ public void onActivityCreated(@Nullable Bundle savedInstanceState) {
saveNote(null);
} catch (IndexOutOfBoundsException e) {
Toast.makeText(getActivity(), "Checkbox could not be toggled.", Toast.LENGTH_SHORT).show();
e.printStackTrace();
}
return line;
}
Expand Down

0 comments on commit 6afcca8

Please sign in to comment.