diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 06934fb..9e46fb8 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -33,8 +33,8 @@ android { applicationId = "org.nsh07.pomodoro" minSdk = 26 targetSdk = 36 - versionCode = 9 - versionName = "1.4.1" + versionCode = 10 + versionName = "1.4.2" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" } diff --git a/app/src/main/java/org/nsh07/pomodoro/ui/settingsScreen/SettingsScreen.kt b/app/src/main/java/org/nsh07/pomodoro/ui/settingsScreen/SettingsScreen.kt index 29434cc..67b00a0 100644 --- a/app/src/main/java/org/nsh07/pomodoro/ui/settingsScreen/SettingsScreen.kt +++ b/app/src/main/java/org/nsh07/pomodoro/ui/settingsScreen/SettingsScreen.kt @@ -203,7 +203,8 @@ private fun SettingsScreen( LaunchedEffect(alarmSound) { withContext(Dispatchers.IO) { - alarmName = RingtoneManager.getRingtone(context, alarmSound.toUri()).getTitle(context) + alarmName = + RingtoneManager.getRingtone(context, alarmSound.toUri())?.getTitle(context) ?: "" } } diff --git a/fastlane/metadata/android/en-US/changelogs/10.txt b/fastlane/metadata/android/en-US/changelogs/10.txt new file mode 100644 index 0000000..850bf66 --- /dev/null +++ b/fastlane/metadata/android/en-US/changelogs/10.txt @@ -0,0 +1,10 @@ +This release contains bug fixes on top of the existing new features of 1.4.0: + +New features: +- You can now choose a custom theme and color scheme for the app's UI +- New pure black dark theme mode + +Fixes: +- Average focus durations now do not include days with no activity +- Fix a critical bug that caused the app's timer state to reset to Focus whenever the app was closed from recents and then opened +- Replace the word "Reset" with "Exit" in the notification to make its purpose less ambiguous \ No newline at end of file