mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-05-21 01:38:20 +00:00
fix manager saving bug
This commit is contained in:
parent
8b8e6880af
commit
cc109471bf
|
@ -53,6 +53,7 @@ public struct RSSFeedManager: View {
|
|||
ToolbarItem(placement: .topBarTrailing) {
|
||||
Button("rss.rssFeedManager.action.done") {
|
||||
dismiss()
|
||||
moContext.refreshAllObjects()
|
||||
try? moContext.save()
|
||||
}
|
||||
}
|
||||
|
|
|
@ -53,7 +53,6 @@ public struct RSSFeedView: View {
|
|||
HStack {
|
||||
Button {
|
||||
feed.isShowing.toggle()
|
||||
feed.managedObjectContext?.refreshAllObjects()
|
||||
} label: {
|
||||
Image(systemName: "eye")
|
||||
.foregroundColor(Color(UIColor.secondaryLabel))
|
||||
|
|
Loading…
Reference in a new issue