Merge pull request #5559 from pangeachat/5551-password-recovery-page-behavior

fix: don't show error on cancel add recovery email
This commit is contained in:
ggurdin 2026-02-03 10:30:15 -05:00 committed by GitHub
commit 71670728ff
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View file

@ -61,6 +61,9 @@ class Settings3PidController extends State<Settings3Pid> {
auth: auth,
),
),
// #Pangea
showError: (e) => !e.toString().contains("Request has been canceled"),
// Pangea#
);
if (success.error != null) return;
setState(() => request = null);

View file

@ -133,7 +133,6 @@ class SettingsLearningController extends State<SettingsLearning> {
waitForDataInSync: true,
),
onError: (e, s) {
debugPrint("Error resetting instruction tooltips: $e");
debugger(when: kDebugMode);
ErrorHandler.logError(
e: e,