Skip to content

Commit 069d2a6

Browse files
MidhlajAmCopilot
andauthored
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 25eaef3 commit 069d2a6

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

lib/view/saved_clipart.dart

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,9 @@ class _SavedClipartState extends State<SavedClipart> {
5858
),
5959
),
6060
TextButton(
61-
onPressed: () {
62-
Navigator.push(
63-
context,
64-
MaterialPageRoute(
65-
builder: (context) => HomeScreen(),
66-
));
67-
},
61+
onPressed: () {
62+
Navigator.pushNamed(context, '/drawBadge');
63+
},
6864
style: TextButton.styleFrom(
6965
padding: EdgeInsets.symmetric(horizontal:8.w, vertical: 6.h),
7066
minimumSize: Size.zero,

0 commit comments

Comments
 (0)