From 6b2ee2dcbe2faab5ee13887b86ee454a6c8bbc8c Mon Sep 17 00:00:00 2001 From: Qiu Yuzhou Date: Sun, 4 Oct 2026 12:37:19 +0800 Subject: [PATCH] =?UTF-8?q?refactor(ui):=20=E5=88=A0=E9=99=A4=20Legacy=20?= =?UTF-8?q?=E5=AF=BC=E5=85=A5=E7=9A=84=E6=AD=BB=20catch=20=E5=88=86?= =?UTF-8?q?=E6=94=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ShadowsocksX-NG2/App/LegacyImportSheet.swift | 2 -- 1 file changed, 2 deletions(-) diff --git a/ShadowsocksX-NG2/App/LegacyImportSheet.swift b/ShadowsocksX-NG2/App/LegacyImportSheet.swift index 09ae08a9..56eefaf5 100644 --- a/ShadowsocksX-NG2/App/LegacyImportSheet.swift +++ b/ShadowsocksX-NG2/App/LegacyImportSheet.swift @@ -99,8 +99,6 @@ struct LegacyImportSheet: View { Task { @MainActor in do { _ = try await workflow.importLegacy(reimport: reimport) - } catch let error as LegacyImportError { - errorMessage = error.presentableMessage } catch { errorMessage = error.presentableMessage }