Skip to content

Hide feature + Pin feature №5#513

Draft
JSchmerling wants to merge 13 commits intoSeineEloquenz:mainfrom
JSchmerling:JSchmerling-pin+hide
Draft

Hide feature + Pin feature №5#513
JSchmerling wants to merge 13 commits intoSeineEloquenz:mainfrom
JSchmerling:JSchmerling-pin+hide

Conversation

@JSchmerling
Copy link
Contributor

@JSchmerling JSchmerling commented Feb 26, 2026

Clean up and fix of #478

Hopefully, this is the last iteration. Since the last iteration, two main changes have been made:

  • hidden() and pinned() have been removed from the ViewModel as they are redundant (I originally thought that these states could not be observed by Compose).
  • The indicators (except for the SelectionIndicator) have been removed.

* №4

* №4 (new files)

* fixing

* Fix sorting by using correct comparator reference

* Remove hide and pin functions from WalletViewModel

Removed hide, unhide, pin, and unpin functions from WalletViewModel.

* Implement hide, unhide, pin, and unpin functions

Add functions to hide, unhide, pin, and unpin passes in PassViewModel.

* Add state management for visibility and pinning

Added MutableStateFlow properties for isHidden and isPinned.

* Add authentication and visibility state management

* Update authentication handling in WalletScreen

* Add asStateFlow import to PassViewModel

* Fix isAuthenticated state source in WalletView

* Fix typo in walletViewModel reference

* Remove unused isHidden and isPinned state flows

Removed unused state flows for isHidden and isPinned.

* Refactor condition checks for pinned and hidden states

* Refactor PassScreen to remove unused parameters

Removed unused parameters isPinned and isHidden from Actions and PassScreen.

* Refactor PassViewModel to remove hidden and pinned states

Removed isHidden and isPinned state management from PassViewModel.

* Refactor hide, unhide, pin, and unpin methods

Simplified hide, unhide, pin, and unpin functions by removing unnecessary context switching.

* Refactor biometric authentication code style

* Remove isHidden and isPinned functions

Removed isHidden and isPinned functions from PassStore.

* Remove isHidden and isPinned functions

Removed isHidden and isPinned functions from PassRepository.

* Remove unused isHidden and isPinned methods

Removed isHidden and isPinned functions from PassDao.

* Fix syntax error in unpin function declaration

* Update PassScreen.kt
@JSchmerling
Copy link
Contributor Author

Since some major changes are currently being made, I am keeping this PR in draft mode and will adapt it accordingly once the changes have been implemented.

@JSchmerling JSchmerling marked this pull request as draft February 27, 2026 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant