Commit 5bfdcb6
committed
Fix registerForActivityResult type inference in DocumentUploadDialog
- Remove explicit type annotation on lambda parameter to allow compiler inference
- Let OpenDocument() contract infer Uri? type from ActivityResultContract
- Resolves: 'Not enough information to infer type argument for I'1 parent f57b01b commit 5bfdcb6
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
0 commit comments