Show only the alert on legacy account import success

Successful import fired both a toast and a confirmation alert for the
same event. Drop the toast and keep the alert.
This commit is contained in:
Arkadiusz Fal
2026-05-18 20:22:35 +02:00
parent c4bcfd1211
commit de9b06072d

View File

@@ -137,10 +137,6 @@ struct LegacyAccountsImportView: View {
username: state.username,
password: state.password
)
appEnvironment?.toastManager.showSuccess(
String(localized: "migration.accounts.imported.title"),
subtitle: importedInstance.displayName
)
importedInstanceName = importedInstance.displayName
showingImportSuccess = true
removeResolvedItem(item)