Skip to content

Commit

Permalink
Correct the initialization of front button
Browse files Browse the repository at this point in the history
Issue #14
  • Loading branch information
chartsai committed May 4, 2018
1 parent 60a6b6c commit c5b0d65
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ protected void onCreate(Bundle savedInstanceState) {
}
mBackRadioButton = (RadioButton) findViewById(R.id.back_camera_radio_button);
if (!Util.isCameraExist(Camera.CameraInfo.CAMERA_FACING_BACK)) {
mFrontRadioButton.setVisibility(View.GONE);
mFrontRadioButton.setChecked(false);
mBackRadioButton.setVisibility(View.GONE);
mBackRadioButton.setChecked(false);
}

mRecordingButton = (Button) findViewById(R.id.recording_button);
Expand Down

0 comments on commit c5b0d65

Please sign in to comment.