Skip to content

Commit

Permalink
more naming
Browse files Browse the repository at this point in the history
  • Loading branch information
malmstein committed Nov 19, 2024
1 parent 0850f53 commit ce23edd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ interface AppBuildConfig {
val model: String
val deviceLocale: Locale
val isDefaultVariantForced: Boolean
val buildDateTime: Long
val buildDateTimeMillis: Long

/**
* You should call [variantName] in a background thread
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ interface QualityAppVersionProvider {
@ContributesBinding(AppScope::class)
class RealQualityAppVersionProvider @Inject constructor(private val appBuildConfig: AppBuildConfig) : QualityAppVersionProvider {
override fun provide(): String {
val appBuildDateMillis = appBuildConfig.buildDateTime
val appBuildDateMillis = appBuildConfig.buildDateTimeMillis

if (appBuildDateMillis == 0L) {
return APP_VERSION_QUALITY_DEFAULT_VALUE
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,6 @@ class RealAppBuildConfig @Inject constructor(
override val variantName: String?
get() = variantManager.get().getVariantKey()

override val buildDateTime: Long
override val buildDateTimeMillis: Long
get() = BuildConfig.BUILD_DATE_MILLIS
}

0 comments on commit ce23edd

Please sign in to comment.