mirror of
https://github.com/kiwix/kiwix-apple.git
synced 2025-09-26 13:29:31 -04:00
Remove double condition
This commit is contained in:
parent
113bdb55f0
commit
3512c1f855
@ -24,12 +24,10 @@ enum BookmarksMigration {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
for zimFile in zimFiles {
|
for zimFile in zimFiles {
|
||||||
if zimFile.bookmarks.isEmpty == false {
|
|
||||||
migrateFrom(zimFile: zimFile, toZimFile: latest, using: context)
|
migrateFrom(zimFile: zimFile, toZimFile: latest, using: context)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/// Migrates the bookmars from an old to new zim file,
|
/// 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)
|
/// 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