Variable minWidth should be maxWidth
Maintainers usually reply within 1 day
@jdkoren is already working on this.
Since May 3, 2024.
Assessment
This issue has not been assessed yet.
Description
File: com.example.compose.snippets.layouts.ConstraintLayoutSnippets.kt
fun DecoupledConstraintLayout() {
BoxWithConstraints {
val constraints = if (minWidth < 600.dp) {
decoupledConstraints(margin = 16.dp) // Portrait constraints
} else {
decoupledConstraints(margin = 32.dp) // Landscape constraints
}
Variable minWidth should be maxWidth
- Dominant language
- Kotlin
- Stars
- 1.2k
- Forks
- 448
- Avg merge
- 4d 22h
- Merged PRs (30d)
- 42
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from android/snippets
-
ListWithMultipleItemTypes.kt — Incorrect usage of items() lambda and contentTypePossibly taken @nero002 claimed this 191 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
android/snippets#863 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
android/snippets#1335 · 1 comment ·
Maintainers usually reply within 1 day
-
18 monthOpen
Difficulty 3/5 Half a day Newbie friendliness 15/100
Maintainers usually reply within 1 day
-
backupOpen
Difficulty 2/5 1-3 hours Newbie friendliness 25/100
Maintainers usually reply within 1 day
All issues in android/snippets
Similar issues
-
code-scan
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
ankidroid/Anki-Android#23806 ·
Maintainers usually reply within 1 day
-
Remove Collect againOpen
Difficulty 1/5 1-3 hours Newbie friendliness 86/100
thisisartman/Meguri#211 ·
Maintainers usually reply within 1 day
-
follow-up
Difficulty 1/5 Under an hour Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
area:android fleet
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
krishnanunnir/vulcan-launcher#135 ·
Maintainers usually reply within 1 day