mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-10-29 06:27:47 -04:00
vpn: aggregate all import errors
- we are dumb about importing by just trying to import everythting - that caused errors to not be represented correctly - just aggregate them all and present them in toast details - Better would be to detect the type of file being imported, but this is better than nothing
This commit is contained in:
1 parent
a205df1bd6
commit
ec2b3d0d4b
2 files changed
+10
-10
No files matched your search
@@ -95,7 +95,7 @@ Singleton {
|
||||
}
|
||||
|
||||
importError = response.result.error || "Import failed";
|
||||
ToastService.showError(importError);
|
||||
ToastService.showError(I18n.tr("Failed to import VPN"), importError);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user