mirror of
https://github.com/kiwix/kiwix-apple.git
synced 2025-09-25 12:56:13 -04:00
Remove double condition
This commit is contained in:
parent
113bdb55f0
commit
3512c1f855
@ -24,12 +24,10 @@ enum BookmarksMigration {
|
||||
return
|
||||
}
|
||||
for zimFile in zimFiles {
|
||||
if zimFile.bookmarks.isEmpty == false {
|
||||
migrateFrom(zimFile: zimFile, toZimFile: latest, using: context)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// Migrates the bookmars from an old to new zim file,
|
||||
/// also updates the bookmark urls accordingly (based on the new zim id as the host of those URLs)
|
||||
|
Loading…
x
Reference in New Issue
Block a user