mirror of
https://github.com/yattee/yattee.git
synced 2026-07-20 14:22:02 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user