Skip to content

Commit

Permalink
Fix Casting crash
Browse files Browse the repository at this point in the history
  • Loading branch information
DSteve595 committed May 26, 2017
1 parent c9ce01c commit 4969724
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4969724

Please sign in to comment.