mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-06-17 14:11:35 +00:00
Commit host removals immediately so they remain if the app is unexpectedly terminated
This commit is contained in:
@@ -54,6 +54,7 @@
|
|||||||
|
|
||||||
- (void) removeHost:(Host*)host {
|
- (void) removeHost:(Host*)host {
|
||||||
[[self.appDelegate managedObjectContext] deleteObject:host];
|
[[self.appDelegate managedObjectContext] deleteObject:host];
|
||||||
|
[self saveHosts];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) saveHosts {
|
- (void) saveHosts {
|
||||||
|
|||||||
Reference in New Issue
Block a user