Implemented the pull to refresh for the list of the BrowseView view for the Browse module.
This commit is contained in:
parent
5b2b462ba3
commit
6d1cf6f93e
@ -124,6 +124,10 @@ private extension BrowseView {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.listStyle(.inset)
|
.listStyle(.inset)
|
||||||
|
.refreshable {
|
||||||
|
Task { await loadItems()
|
||||||
|
}
|
||||||
|
}
|
||||||
case .empty:
|
case .empty:
|
||||||
MessageView(
|
MessageView(
|
||||||
type: .empty,
|
type: .empty,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user