Commit 2b41d3f
fix Android compile: import viewModelFactory + initializer
The Compose viewModel(factory = ...) builder needs the explicit
imports for viewModelFactory and initializer. Without them the
qualified path resolves the builder but the lambda-inside-builder
fails 'Unresolved reference initializer'. Android CI #62 caught
this; local env has no SDK to validate at commit time.1 parent d8b24ef commit 2b41d3f
1 file changed
Lines changed: 3 additions & 1 deletion
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
| |||
51 | 53 | | |
52 | 54 | | |
53 | 55 | | |
54 | | - | |
| 56 | + | |
55 | 57 | | |
56 | 58 | | |
57 | 59 | | |
| |||
0 commit comments