diff --git a/app/build.gradle b/app/build.gradle index f3465c06..3e326245 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -24,8 +24,8 @@ android { applicationId 'com.stevenschoen.putionew' minSdkVersion 19 targetSdkVersion 25 - versionCode 116 - versionName '4.1' + versionCode 117 + versionName '4.1.1' multiDexEnabled true } buildTypes { @@ -63,7 +63,7 @@ dependencies { compile "com.android.support:recyclerview-v7:$supportLibVersion" compile "com.android.support:cardview-v7:$supportLibVersion" compile "com.android.support:mediarouter-v7:$supportLibVersion" - compile 'com.google.android.gms:play-services-cast-framework:10.0.1' + compile 'com.google.android.gms:play-services-cast-framework:10.2.1' compile 'com.android.support.constraint:constraint-layout:1.0.2' compile('com.crashlytics.sdk.android:crashlytics:2.6.8@aar') { transitive = true; diff --git a/app/src/main/java/com/stevenschoen/putionew/files/FileDetailsFragment.kt b/app/src/main/java/com/stevenschoen/putionew/files/FileDetailsFragment.kt index ad3a579a..cc53474d 100644 --- a/app/src/main/java/com/stevenschoen/putionew/files/FileDetailsFragment.kt +++ b/app/src/main/java/com/stevenschoen/putionew/files/FileDetailsFragment.kt @@ -216,7 +216,7 @@ class FileDetailsFragment : RxFragment() { buttonPlay.setOnClickListener { var mp4 = false if (file.isVideo) { - val mp4Status = mp4StatusLoader!!.lastMp4Status() + val mp4Status = mp4StatusLoader?.lastMp4Status() if (mp4Status != null) { if (mp4Status == PutioMp4Status.Status.Completed) { mp4 = checkBoxMp4Available.isChecked