Pull to refresh fixes, added alert for playlist error

This commit is contained in:
Arkadiusz Fal
2022-09-04 17:24:07 +02:00
parent 14b0316724
commit dffcfc8b06
5 changed files with 35 additions and 8 deletions

View File

@@ -50,7 +50,9 @@ struct PopularView: View {
}
.backport
.refreshable {
resource?.load()
DispatchQueue.main.async {
resource?.load()
}
}
.navigationBarTitleDisplayMode(RefreshControl.navigationBarTitleDisplayMode)
#endif