mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2025-07-27 06:32:59 +00:00
Commit host removals immediately so they remain if the app is unexpectedly terminated
This commit is contained in:
parent
2d02ce2a1b
commit
48d1c1a080
@ -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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user