Skip to content

Commit

Permalink
fixup! fixup! fixup! TW-1785: Improve logout for multiple homeserver
Browse files Browse the repository at this point in the history
  • Loading branch information
nqhhdev committed May 21, 2024
1 parent 89c27a9 commit 41756b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/pages/settings_dashboard/settings/settings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ class SettingsController extends State<Settings> with ConnectPageMixin {
if (matrix.backgroundPush != null) {
await matrix.backgroundPush!.removeCurrentPusher();
}
Future.wait([
await Future.wait([
matrix.client.logout(),
_deleteTomConfigurations(matrix.client),
]);
Expand All @@ -126,7 +126,7 @@ class SettingsController extends State<Settings> with ConnectPageMixin {
if (matrix.backgroundPush != null) {
await matrix.backgroundPush!.removeCurrentPusher();
}
Future.wait([
await Future.wait([
matrix.client.logout(),
_deleteTomConfigurations(matrix.client),
]);
Expand Down

0 comments on commit 41756b9

Please sign in to comment.