Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
RyosukeCla committed Jan 29, 2024
1 parent 6308ff0 commit 92ac845
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ios/Example/Example/ContentView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -132,15 +132,14 @@ Morondava is a charming coastal town located on the western coast of Madagascar.
ScrollView(.vertical) {
nativebrik
.experiment
.embedding("TOP_COMPONENT", onEvent: nil) { phase in
.embedding("TOP_COMPONENT") { phase in
switch phase {
case .completed(let view):
view.frame(width: nil, height: 280)
default:
EmptyView().frame(width: nil, height: 0)
}
}

ForEach(self.items, id: \.title) { item in
item.padding()
}
Expand Down

0 comments on commit 92ac845

Please sign in to comment.