Skip to content

Conversation

@AvaneeshKesavan
Copy link
Contributor

@AvaneeshKesavan AvaneeshKesavan commented Sep 16, 2025

Fixes

Closes #109

Description

Currently, the Save button in AddCard and EditCard pages redirects users to the Home Page. This PR fixes the navigation so that after saving, users are taken back to the page they came from (e.g., the Subject page).

Files Changed

  • Updated AddCard.tsx: replaced navigation.navigate('App') with navigation.goBack().
  • Updated EditCard.tsx: replaced navigation.navigate('App') with navigation.goBack().

GSSoC Contributor

  • Yes, I am a GSSoC contributor

@AvaneeshKesavan
Copy link
Contributor Author

Following up on my pr. Please let me know if any changes are required.

@anisharma07
Copy link
Collaborator

@AvaneeshKesavan can you share a screenrecording if you ran it on mobile or emulator?

@AvaneeshKesavan
Copy link
Contributor Author

trim.94E3A524-E89B-4CC6-B62E-6FE66D605104.MOV

@anisharma07
Copy link
Collaborator

@AvaneeshKesavan Great! Thanks for contributing.

@anisharma07 anisharma07 merged commit 1a58ce2 into Loop-Hive:main Sep 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Save Card should Redirect to Subject Page

2 participants