Skip to content
This repository has been archived by the owner on Jan 12, 2023. It is now read-only.

Commit

Permalink
Remove useless null elvis operator check.
Browse files Browse the repository at this point in the history
appVersionName always return a non-null String.
  • Loading branch information
mcarare authored and mergify[bot] committed Nov 16, 2022
1 parent ec8c106 commit f804247
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ open class WhatsNewVersion(internal open val version: String) {

data class ContextWhatsNewVersion(private val context: Context) : WhatsNewVersion("") {
override val version: String
get() = context.appVersionName ?: ""
get() = context.appVersionName
}

0 comments on commit f804247

Please sign in to comment.