diff --git a/common/data-models/src/commonMain/kotlin/com/shabinder/common/models/saavn/SaavnSong.kt b/common/data-models/src/commonMain/kotlin/com/shabinder/common/models/saavn/SaavnSong.kt index fe423e3a..dd24883f 100644 --- a/common/data-models/src/commonMain/kotlin/com/shabinder/common/models/saavn/SaavnSong.kt +++ b/common/data-models/src/commonMain/kotlin/com/shabinder/common/models/saavn/SaavnSong.kt @@ -16,7 +16,7 @@ data class SaavnSong @OptIn(ExperimentalSerializationApi::class) constructor( val duration: String, val encrypted_media_path: String, val encrypted_media_url: String, - val explicit_content: Int = 0, +// val explicit_content: Int = 0, val has_lyrics: Boolean = false, val id: String, val image: String, @@ -31,7 +31,7 @@ data class SaavnSong @OptIn(ExperimentalSerializationApi::class) constructor( val music_id: String, val origin: String? = null, val perma_url: String? = null, - val play_count: Int = 0, +// val play_count: Int = 0, val primary_artists: String, val primary_artists_id: String, val release_date: String, // Format - 2021-05-04 diff --git a/common/dependency-injection/src/commonMain/kotlin/com/shabinder/common/di/Dir.kt b/common/dependency-injection/src/commonMain/kotlin/com/shabinder/common/di/Dir.kt index 453d3e79..72975399 100644 --- a/common/dependency-injection/src/commonMain/kotlin/com/shabinder/common/di/Dir.kt +++ b/common/dependency-injection/src/commonMain/kotlin/com/shabinder/common/di/Dir.kt @@ -56,10 +56,6 @@ expect class Dir( fun addToLibrary(path: String) } -/* -* Do we have Analytics Permission? -* - Defaults to `False` -* */ val Dir.isAnalyticsEnabled get() = settings.getBooleanOrNull(AnalyticsKey) ?: false fun Dir.enableAnalytics() = settings.putBoolean(AnalyticsKey, true)