Skip to content

Commit

Permalink
[fix] pop 두 번 한 다음 Index 이동하도록 수정 #312
Browse files Browse the repository at this point in the history
  • Loading branch information
chaeyeonKong committed May 22, 2024
1 parent 8159f70 commit d52c64c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/lib/widgets/choose_purpose.dart
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@ class _ChoosePurposeState extends State<ChoosePurpose> {

Map<String, dynamic> response =
await matchRequest(senderId, receiverId, _selectedIndex!);

Navigator.of(context).pop();
Navigator.of(context).pop();
selectedIndexProvider.selectedIndex = 1;
} catch (e) {
print(e);
Expand Down

0 comments on commit d52c64c

Please sign in to comment.