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:
commit
71670728ff
2 changed files with 3 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue