Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

fix-issue-3455 #3491

Merged
merged 1 commit into from
Sep 11, 2024
Merged

fix-issue-3455 #3491

merged 1 commit into from
Sep 11, 2024

Conversation

shamim-emon
Copy link
Member

@shamim-emon shamim-emon commented Sep 11, 2024

Pull request (PR) checklist

Please check if your pull request fulfills the following requirements:

  • I've read the Contribution Guidelines and my PR doesn't break the rules.
  • I've read and understand the Developer Guidelines.
  • I confirm that I've run the code locally and everything works as expected.
  • My PR includes only the necessary changes to fix the issue (i.e., no unnecessary files or lines of code are changed).
  • 🎬 I've attached a screen recording of using the new code to the next paragraph (if applicable).

Screen recording of your changes (if applicable):

What's changed?

Describe with a few bullets what's new:

  • When we go to transaction details screen from transaction list screen , upon coming back, we loose scroll position. It happens because screens where isLegacy is not true, their viewModel gets cleared as soon as corresponding composable is left out of the screen.

Does this PR close any GitHub issues? (do not delete)

Troubleshooting GitHub Actions (CI) failures ❌

Pull request checks failing? Read our CI Troubleshooting guide.

@shamim-emon
Copy link
Member Author

@ILIYANGERMANOV
Is it okay to mark TransactionsScreen as legacy? It's suggested to not mark Material3 screens with legacy.
Asking this because not sure what's meant by Material3 screens, initially I thought screens which have any material3 component is considered Material3 screen. But then I saw EditTransactionScreen is also marked as legacy even though it contains material3 component.

@ILIYANGERMANOV
Copy link
Collaborator

@ILIYANGERMANOV Is it okay to mark TransactionsScreen as legacy? It's suggested to not mark Material3 screens with legacy. Asking this because not sure what's meant by Material3 screens, initially I thought screens which have any material3 component is considered Material3 screen. But then I saw EditTransactionScreen is also marked as legacy even though it contains material3 component.

Idk, just test that it works if that's the case we can merge it

@shamim-emon
Copy link
Member Author

@ILIYANGERMANOV Is it okay to mark TransactionsScreen as legacy? It's suggested to not mark Material3 screens with legacy. Asking this because not sure what's meant by Material3 screens, initially I thought screens which have any material3 component is considered Material3 screen. But then I saw EditTransactionScreen is also marked as legacy even though it contains material3 component.

Idk, just test that it works if that's the case we can merge it

@ILIYANGERMANOV Yes it works, here is the video

@ILIYANGERMANOV ILIYANGERMANOV merged commit 7773e4e into Ivy-Apps:main Sep 11, 2024
9 checks passed
@shamim-emon shamim-emon deleted the fix-issue-3455 branch September 11, 2024 13:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Transaction List Returns to Top Position After Returning from Transaction Detail
2 participants