Skip to content

Commit

Permalink
update cameraview to beta-04
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeswitz committed Mar 8, 2019
1 parent 3b446c8 commit b1c3c15
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -187,5 +187,5 @@ dependencies {
implementation 'com.evernote:android-job:1.2.6'

// new camera view: https://github.com/natario1/CameraView
implementation 'com.otaliastudios:cameraview:2.0.0-beta02'
implementation 'com.otaliastudios:cameraview:2.0.0-beta04'
}
2 changes: 1 addition & 1 deletion src/main/java/org/havenapp/main/ui/CameraViewHolder.java
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ public void startCamera() {
updateCamera();

cameraView.setPlaySounds(false);
cameraView.setPreviewSize(new SizeSelector() {
cameraView.setPreviewStreamSize(new SizeSelector() {
@NonNull
@Override
public List<Size> select(@NonNull List<Size> source) {
Expand Down

0 comments on commit b1c3c15

Please sign in to comment.