fix: don't show error on cancel add recovery email

This commit is contained in:
ggurdin 2026-02-03 10:28:47 -05:00
parent 1393fa69f2
commit 386275270f
No known key found for this signature in database
GPG key ID: A01CB41737CBB478
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,