Update threshold for migration panel

This commit is contained in:
1024jp 2022-05-02 21:32:06 +09:00
parent f69b6cc504
commit f2797904d8

View File

@ -173,7 +173,7 @@ final class AppDelegate: NSObject, NSApplicationDelegate {
// show notification panel for line ending migration on CotEditor 4.2.0
if let lastVersion = UserDefaults.standard[.lastVersion].flatMap(Int.init),
lastVersion < 491 // earlier than CotEditor 4.2.0
lastVersion < 494 // earlier than CotEditor 4.2.0
{
var migrationOptions: LineEndingMigrationOptions = []
if ReplacementManager.shared.needsLineEndingMigration() {