Commit 96673d0
authored
CMP-8068 Fix crash in
Fixes a crash in `getSystemEnvironment` on desktop when running in a
headless environment (such as most CI runners) by providing a default
density qualifier. In the future that might be something that's nice to
make configurable, but since both our use case and the linked issue
encountered it when calling `getString` I didn't worry about it too
hard.
Fixes [CMP-8068](https://youtrack.jetbrains.com/issue/CMP-8068)
## Testing
Made a local build and used it to run some tests in another project that
were failing on calls to `getString`
## Release Notes
### Fixes - Resources
- Fix crash in `getSystemEnvironment` on headless desktopgetSystemEnvironment on headless desktop (#5471)1 parent 8c50bcb commit 96673d0
File tree
1 file changed
+7
-1
lines changed- components/resources/library/src/desktopMain/kotlin/org/jetbrains/compose/resources
1 file changed
+7
-1
lines changedLines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
12 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
13 | 19 | | |
14 | 20 | | |
15 | 21 | | |
| |||
0 commit comments