Skip to content

Commit

Permalink
Bump to version 0.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
z-huang committed Aug 21, 2023
1 parent 5f5459a commit 4fae4e2
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ android {
applicationId = "com.zionhuang.music"
minSdk = 24
targetSdk = 33
versionCode = 17
versionName = "0.5.1"
versionCode = 18
versionName = "0.5.2"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
Expand Down
2 changes: 1 addition & 1 deletion app/src/full/java/com/zionhuang/music/utils/Utils.kt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import kotlin.time.Duration.Companion.hours
fun MainActivity.setupRemoteConfig() {
val remoteConfig = Firebase.remoteConfig
remoteConfig.setConfigSettingsAsync(remoteConfigSettings {
minimumFetchIntervalInSeconds = 12.hours.inWholeSeconds
minimumFetchIntervalInSeconds = 6.hours.inWholeSeconds
})
remoteConfig.fetchAndActivate()
.addOnCompleteListener(this) { task ->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,25 @@ fun AboutScreen(
style = MaterialTheme.typography.titleMedium,
color = MaterialTheme.colorScheme.secondary
)

Spacer(Modifier.width(4.dp))

Text(
text = BuildConfig.FLAVOR.uppercase(),
style = MaterialTheme.typography.labelSmall,
color = MaterialTheme.colorScheme.secondary,
modifier = Modifier
.border(
width = 1.dp,
color = MaterialTheme.colorScheme.secondary,
shape = CircleShape
)
.padding(
horizontal = 6.dp,
vertical = 2.dp
)
)

if (BuildConfig.DEBUG) {
Spacer(Modifier.width(4.dp))

Expand All @@ -81,7 +100,7 @@ fun AboutScreen(
shape = CircleShape
)
.padding(
horizontal = 4.dp,
horizontal = 6.dp,
vertical = 2.dp
)
)
Expand Down
3 changes: 3 additions & 0 deletions fastlane/metadata/android/en-US/changelogs/18.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- Improve library design
- Lyrics translator (full version only)
- Minor enhancement and bug fixes

0 comments on commit 4fae4e2

Please sign in to comment.