Skip to content

Commit

Permalink
fixup! fixup! Draft
Browse files Browse the repository at this point in the history
  • Loading branch information
nqhhdev committed Apr 11, 2024
1 parent b478b3e commit 4768419
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions lib/utils/dialog/stream_dialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,14 @@ class _InitClientDialogState extends State<InitClientDialog>
Logs().i(
'StreamDialogBuilder::_listenClientLoginStateChanged - ${event.multipleAccountLoginType}',
);
if (event.multipleAccountLoginType == MultipleAccountLoginType.firstLoggedIn) {
if (event.multipleAccountLoginType ==
MultipleAccountLoginType.firstLoggedIn) {
_clientFirstLoggedIn = event.client;
return;
}

if (event.multipleAccountLoginType == MultipleAccountLoginType.otherAccountLoggedIn) {
if (event.multipleAccountLoginType ==
MultipleAccountLoginType.otherAccountLoggedIn) {
_clientAddAnotherAccount = event.client;
return;
}
Expand Down
3 changes: 2 additions & 1 deletion lib/widgets/matrix.dart
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,8 @@ class MatrixState extends State<Matrix>
ClientLoginStateEvent(
client: client,
loginState: loginState,
multipleAccountLoginType: MultipleAccountLoginType.otherAccountLoggedIn,
multipleAccountLoginType:
MultipleAccountLoginType.otherAccountLoggedIn,
),
);
_loginClientCandidate = null;
Expand Down

0 comments on commit 4768419

Please sign in to comment.