Skip to content

Commit

Permalink
Fix crash when opening Edit screen from widget while no accounts perm…
Browse files Browse the repository at this point in the history
…ission had been granted. #507
  • Loading branch information
Gabor Keszthelyi committed Nov 28, 2017
1 parent 112303d commit 643c72d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions opentasks/src/main/java/org/dmfs/tasks/EditTaskActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -173,10 +173,6 @@ public void onAttachFragment(Fragment fragment)
{
mEditFragment = (EditTaskFragment) fragment;
}
else
{
throw new IllegalArgumentException("Invalid fragment attached: " + fragment.getClass().getCanonicalName());
}
}


Expand Down

0 comments on commit 643c72d

Please sign in to comment.