mirror of
https://github.com/yattee/yattee.git
synced 2026-07-21 06:42:01 +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,
|
username: state.username,
|
||||||
password: state.password
|
password: state.password
|
||||||
)
|
)
|
||||||
appEnvironment?.toastManager.showSuccess(
|
|
||||||
String(localized: "migration.accounts.imported.title"),
|
|
||||||
subtitle: importedInstance.displayName
|
|
||||||
)
|
|
||||||
importedInstanceName = importedInstance.displayName
|
importedInstanceName = importedInstance.displayName
|
||||||
showingImportSuccess = true
|
showingImportSuccess = true
|
||||||
removeResolvedItem(item)
|
removeResolvedItem(item)
|
||||||
|
|||||||
Reference in New Issue
Block a user