diff --git a/app/build.gradle b/app/build.gradle index 113d25e2..8ef679a1 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -7,8 +7,8 @@ android { applicationId "us.koller.cameraroll" minSdkVersion 19 targetSdkVersion 26 - versionCode 24 - versionName "v1.6.2 Beta" + versionCode 25 + versionName "v1.6.2.1 Beta" vectorDrawables.useSupportLibrary = true testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } diff --git a/app/release/app-release.apk b/app/release/app-release.apk index 48694cef..4ce3c6aa 100644 Binary files a/app/release/app-release.apk and b/app/release/app-release.apk differ diff --git a/app/src/main/java/us/koller/cameraroll/ui/ItemActivity.java b/app/src/main/java/us/koller/cameraroll/ui/ItemActivity.java index 0a3f60e7..f0a801fe 100644 --- a/app/src/main/java/us/koller/cameraroll/ui/ItemActivity.java +++ b/app/src/main/java/us/koller/cameraroll/ui/ItemActivity.java @@ -65,7 +65,6 @@ import us.koller.cameraroll.data.provider.MediaProvider; import us.koller.cameraroll.data.Settings; import us.koller.cameraroll.data.models.Video; -import us.koller.cameraroll.themes.Theme; import us.koller.cameraroll.util.ParallaxTransformer; import us.koller.cameraroll.util.animators.ColorFade; import us.koller.cameraroll.util.MediaType; @@ -317,8 +316,9 @@ public void setTitle(Toolbar toolbar) { ViewHolder viewHolder = ((ViewPagerAdapter) viewPager.getAdapter()) .findViewHolderByTag(albumItem.getPath()); - - onShowViewHolder(viewHolder); + if (viewHolder != null) { + onShowViewHolder(viewHolder); + } } });