Skip to content

Commit

Permalink
Don't access MainActivity.ingredientHandler
Browse files Browse the repository at this point in the history
  • Loading branch information
caseydavenport committed Mar 29, 2016
1 parent c8599cf commit eaa20ec
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ public void onCreate(Bundle savedInstanceState) {
getSupportActionBar().setDisplayHomeAsUpEnabled(true);

// Get the Ingredient Handler
ingredientHandler = MainActivity.ingredientHandler;
ingredientHandler = new IngredientHandler(AddEditActivity.this);

// Get the inflater
inflater = (LayoutInflater) getSystemService(Context.LAYOUT_INFLATER_SERVICE);
Expand Down

0 comments on commit eaa20ec

Please sign in to comment.