Skip to content

Commit

Permalink
🔖 Prepare release 3.27.1
Browse files Browse the repository at this point in the history
Signed-off-by: Leonardo Colman Lopes <[email protected]>
  • Loading branch information
LeoColman committed Aug 1, 2024
1 parent c20636f commit 7cb2517
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ android {
applicationId = "br.com.colman.petals"
minSdk = 21
targetSdk = 34
versionCode = 327000
versionName = "3.27.0"
versionCode = 327001
versionName = "3.27.1"

testApplicationId = "$applicationId.test"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ fun SettingsView(settingsRepository: SettingsRepository) {
val currentCurrency by settingsRepository.currencyIcon.collectAsState("$")
val currentDateFormat by settingsRepository.dateFormat.collectAsState(settingsRepository.dateFormatList[0])
val currentTimeFormat by settingsRepository.timeFormat.collectAsState(settingsRepository.timeFormatList[0])
val currentMillisecondsEnabled by settingsRepository.millisecondsEnabled.collectAsState(
settingsRepository.millisecondsEnabledList[0]
)
val currentHitTimerMillisecondsEnabled by settingsRepository.hitTimerMillisecondsEnabled.collectAsState(
settingsRepository.hitTimerMillisecondsEnabledList[0]
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ fun LastUseDateTimer(lastUseDate: LocalDateTime) {
val settingsRepository = koinInject<SettingsRepository>()
val dateFormat by settingsRepository.dateFormat.collectAsState(settingsRepository.dateFormatList[0])
val timeFormat by settingsRepository.timeFormat.collectAsState(settingsRepository.timeFormatList[0])
val millisecondsEnabled by settingsRepository.millisecondsEnabled.collectAsState("disabled")
val darkMode: Boolean by settingsRepository.isDarkModeEnabled.collectAsState(isSystemInDarkTheme())
val dateString = DateTimeFormatter.ofPattern(
String.format(Locale.US, "%s %s", dateFormat, timeFormat)
Expand All @@ -92,8 +91,6 @@ fun LastUseDateTimer(lastUseDate: LocalDateTime) {
}
}

val allLabels = listOf(Year, Month, Day, Hour, Minute, Second, Millisecond)
val enabledLabels = if (millisecondsEnabled == "disabled") allLabels.dropLast(1) else allLabels
val enabledLabels = listOf(Year, Month, Day, Hour, Minute, Second)

var millisCopy = millis
Expand Down
3 changes: 3 additions & 0 deletions fastlane/metadata/android/en-US/changelogs/327001.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- Fix "Average use per X" card alignment
- Sync translations from weblate
- Remove milliseconds bar from usage screen permanently

0 comments on commit 7cb2517

Please sign in to comment.