Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions build-logic/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ plugins {
}

java {
sourceCompatibility = JavaVersion.VERSION_24
targetCompatibility = JavaVersion.VERSION_24
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21
}

gradlePlugin {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ fun stringResource(
resource: AppStringResource,
vararg formatArgs: Any,
): String {
val localization = localizationForStringResource() ?: error("LocalizationState is not provided")
// ?: in case of Preview
val localization = localizationForStringResource() ?: return resource.key

return getString(
localization = localization,
Expand All @@ -30,7 +31,8 @@ fun stringResource(
language: LanguageCode,
vararg formatArgs: Any,
): String {
val localization = localizationForStringResource() ?: error("LocalizationState is not provided")
// ?: in case of Preview
val localization = localizationForStringResource() ?: return resource.key

return getString(
localization = localization,
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ targetApi = "37"
buildTools = "36.0.0"
buildkonfig = "0.22.0"
gradle = "9.3.1"
jvmTarget = "24"
jvmTarget = "21"
jetifier = "1.0.0-beta10"
# DI
dagger = "2.60.1"
Expand Down
Loading