Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚨 Fix build warnings #530

Merged
merged 1 commit into from
Aug 1, 2023
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 app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ android {
kotlinCompilerExtensionVersion = libs.versions.compose.compiler.get()
}

packagingOptions {
packaging {
resources.excludes.apply {
add("META-INF/AL2.0")
add("META-INF/LGPL2.1")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,10 @@ private fun TaskTitleTextField(text: String, onTitleChange: (String) -> Unit) {
textState.value = it
},
textStyle = MaterialTheme.typography.headlineMedium,
colors = TextFieldDefaults.textFieldColors(
containerColor = MaterialTheme.colorScheme.surface,
colors = TextFieldDefaults.colors(
focusedContainerColor = MaterialTheme.colorScheme.surface,
unfocusedContainerColor = MaterialTheme.colorScheme.surface,
disabledContainerColor = MaterialTheme.colorScheme.surface,
),
)
}
Expand All @@ -202,8 +204,10 @@ private fun TaskDescriptionTextField(text: String?, onDescriptionChange: (String
textState.value = it
},
textStyle = MaterialTheme.typography.bodyLarge,
colors = TextFieldDefaults.textFieldColors(
containerColor = MaterialTheme.colorScheme.surface,
colors = TextFieldDefaults.colors(
focusedContainerColor = MaterialTheme.colorScheme.surface,
unfocusedContainerColor = MaterialTheme.colorScheme.surface,
disabledContainerColor = MaterialTheme.colorScheme.surface,
),
)
}
Expand Down
2 changes: 1 addition & 1 deletion features/tracker/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ android {
kotlinCompilerExtensionVersion = libs.versions.compose.compiler.get()
}

packagingOptions {
packaging {
resources.excludes.apply {
add("META-INF/AL2.0")
add("META-INF/LGPL2.1")
Expand Down
2 changes: 1 addition & 1 deletion libraries/test/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ plugins {
}

android {
packagingOptions {
packaging {
resources.excludes.apply {
add("META-INF/AL2.0")
add("META-INF/LGPL2.1")
Expand Down
2 changes: 1 addition & 1 deletion plugins/src/main/java/extension/CommonExtension.kt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ fun CommonExtension<*, *, *, *>.composeConfig(libs: VersionCatalog) {
kotlinCompilerExtensionVersion = libs.composeVersion
}

packagingOptions {
packaging {
resources.excludes.apply {
add("META-INF/AL2.0")
add("META-INF/LGPL2.1")
Expand Down
Loading