Skip to content

Commit

Permalink
Fix audio crash and bump to 3.0.0-p1 (#1314)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedre authored Apr 10, 2020
1 parent 8a9472f commit f3adcbd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ android {
defaultConfig {
minSdkVersion deps.android.build.minSdkVersion
targetSdkVersion deps.android.build.targetSdkVersion
versionCode 3000
versionName "3.0.0"
versionCode 3001
versionName "3.0.0-p1"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
multiDexEnabled true
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package com.quran.labs.androidquran.common

import android.os.Parcelable
import kotlinx.android.parcel.IgnoredOnParcel
import kotlinx.android.parcel.Parcelize

@Parcelize
Expand All @@ -9,9 +10,11 @@ data class QariItem(
val name: String,
val url: String,
val path: String,
val databaseName: String? = null
val db: String? = null
) : Parcelable {
@IgnoredOnParcel
val databaseName = if (db.isNullOrEmpty()) null else db

val isGapless: Boolean
get() = !databaseName.isNullOrEmpty()
get() = databaseName != null
}

0 comments on commit f3adcbd

Please sign in to comment.