Commit e1b2b3c
committed
Fix: Update PhotoReasoningScreen previews with notification dialog params
The `PhotoReasoningScreen` composable was updated to accept
`showNotificationRationaleDialog` and `onShowNotificationRationaleDialogChange`
parameters due to state hoisting. The `@Preview` functions
(`PhotoReasoningScreenPreviewWithContent` and `PhotoReasoningScreenPreviewEmpty`)
were not updated accordingly, leading to "No value passed for parameter"
compilation errors.
This commit updates both preview functions to pass default values
(`showNotificationRationaleDialog = false`, `onShowNotificationRationaleDialogChange = {}`)
for these new parameters, resolving the build errors.1 parent 1f439e1 commit e1b2b3c
1 file changed
Lines changed: 11 additions & 2 deletions
Lines changed: 11 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1062 | 1062 | | |
1063 | 1063 | | |
1064 | 1064 | | |
1065 | | - | |
| 1065 | + | |
| 1066 | + | |
| 1067 | + | |
1066 | 1068 | | |
1067 | 1069 | | |
1068 | 1070 | | |
| |||
1160 | 1162 | | |
1161 | 1163 | | |
1162 | 1164 | | |
1163 | | - | |
| 1165 | + | |
| 1166 | + | |
| 1167 | + | |
| 1168 | + | |
| 1169 | + | |
| 1170 | + | |
| 1171 | + | |
| 1172 | + | |
1164 | 1173 | | |
1165 | 1174 | | |
1166 | 1175 | | |
| |||
0 commit comments