Skip to content

Commit

Permalink
fix(post): Fix depecated api
Browse files Browse the repository at this point in the history
  • Loading branch information
realth000 committed Aug 6, 2024
1 parent dc8ac8f commit 0d6c36d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/features/post/view/post_edit_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ class _PostEditPageState extends State<PostEditPage> {
};
return PopScope(
canPop: false,
onPopInvoked: (didPop) {
onPopInvokedWithResult: (didPop, _) {
if (didPop) {
return;
}
Expand Down

0 comments on commit 0d6c36d

Please sign in to comment.