Skip to content

Commit

Permalink
Merge branch 'switchCamera_fix' of https://github.com/lukeswitz/haven
Browse files Browse the repository at this point in the history
…into lukeswitz-switchCamera_fix
  • Loading branch information
n8fr8 committed Feb 28, 2019
2 parents a560765 + dc89e27 commit 424d715
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ private void switchCamera() {
else if (camera.equals(PreferenceManager.BACK))
mPrefManager.setCamera(PreferenceManager.FRONT);

((CameraFragment) getSupportFragmentManager().findFragmentById(R.id.fragment_camera)).updateCamera();
mFragment.updateCamera();
setResult(RESULT_OK);
}

Expand Down

0 comments on commit 424d715

Please sign in to comment.