Skip to content

Commit

Permalink
nullcheck
Browse files Browse the repository at this point in the history
fix app crash (#751)
  • Loading branch information
forrestguice committed Dec 7, 2023
1 parent 967d6f5 commit 466a02f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ public void onResume()
}

TimeDateDialog seekDateDialog = (TimeDateDialog) fragments.findFragmentByTag(DIALOGTAG_DATE_SEEK);
if (dateDialog != null)
if (seekDateDialog != null)
{
seekDateDialog.setTimezone(dataset.timezone());
seekDateDialog.setOnAcceptedListener(onSeekDate(seekDateDialog));
Expand Down

0 comments on commit 466a02f

Please sign in to comment.