Skip to content

Commit

Permalink
Merge pull request #1105 from adevinta/fix-demo-snackbar
Browse files Browse the repository at this point in the history
[Snackbar] Fixed Snackbar demos
  • Loading branch information
robergro authored Jan 8, 2025
2 parents 7071c82 + b7b8bd1 commit 1ee09c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ extension SnackbarDemoUIView {
intent: .basic,
text: "Is multiline",
checkedImage: .init(systemName: "checkmark")?.withRenderingMode(.alwaysTemplate) ?? UIImage(),
selectionState: .unselected,
selectionState: .selected,
alignment: .left
)
checkbox.publisher.subscribe(in: &self.cancellables) { [weak self] state in
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ struct SnackbarDemoView: View {
modifiedSnackbar(snackbarWithButton())
modifiedSnackbar(snackbarWithCustomView())
}
.fixedSize(horizontal: false, vertical: true)
}
paddingConfiguration()
}
Expand Down

0 comments on commit 1ee09c9

Please sign in to comment.