mirror of
https://github.com/kiwix/kiwix-apple.git
synced 2025-09-25 21:05:09 -04:00
Fix condition
This commit is contained in:
parent
ddb5a33e96
commit
113bdb55f0
@ -38,7 +38,7 @@ enum BookmarksMigration {
|
||||
toZimFile toZim: ZimFile,
|
||||
using context: NSManagedObjectContext
|
||||
) {
|
||||
guard fromZim.bookmarks.isEmpty != false else { return }
|
||||
guard fromZim.bookmarks.isEmpty == false else { return }
|
||||
context.mergePolicy = NSMergePolicy.mergeByPropertyObjectTrump
|
||||
let newHost = toZim.fileID.uuidString
|
||||
fromZim.bookmarks.forEach { (bookmark: Bookmark) in
|
||||
|
Loading…
x
Reference in New Issue
Block a user