Skip to content

Commit

Permalink
hotfix: remove unecessary pop after invite members
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian KOUNE authored and hoangdat committed Dec 26, 2023
1 parent dd71da7 commit 3647200
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions lib/pages/invitation_selection/invitation_selection.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import 'package:fluffychat/pages/new_group/contacts_selection.dart';
import 'package:fluffychat/pages/new_group/contacts_selection_view.dart';
import 'package:fluffychat/utils/dialog/twake_dialog.dart';
import 'package:fluffychat/utils/twake_snackbar.dart';
import 'package:fluffychat/widgets/twake_app.dart';
import 'package:flutter/material.dart';

import 'package:adaptive_dialog/adaptive_dialog.dart';
Expand Down Expand Up @@ -90,7 +89,6 @@ class InvitationSelectionController
context,
L10n.of(context)!.contactHasBeenInvitedToTheGroup,
);
onCloseDialogInvite();
inviteSuccessAction();
}
}
Expand All @@ -99,10 +97,6 @@ class InvitationSelectionController
context.pop();
}

void onCloseDialogInvite() {
TwakeApp.router.routerDelegate.pop();
}

@override
Widget build(BuildContext context) => ContactsSelectionView(this);
}

0 comments on commit 3647200

Please sign in to comment.