Reload settings when verification dialog is closed

When a user wants to add a phone number or email addess, a verifikation token is sent to them and a dialog is opened to enter it.
Before the commit, after closing the verification dialog, the settings dialog was not refreshed.
Therefore the added <phone number / email adress> would stay in the input
with a spinner spinning next to it until another action was taken.

With this commit, closing the verification dialog refreshes the settings window.
This commit is contained in:
sonjita 2019-10-18 12:52:24 +02:00
parent 05ecf239b5
commit 063e5504a0

View file

@ -103,6 +103,7 @@ impl AppOp {
}
w.destroy();
});
self.get_three_pid();
dialog.show_all();
}
@ -139,6 +140,7 @@ impl AppOp {
}
w.destroy();
});
self.get_three_pid();
dialog.show_all();
}