-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ABW-4081] Security shields list #1336
Conversation
970972a
to
ed96778
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
_state.update { state -> state.copy(isChangingMainSecurityShieldInProgress = false) } | ||
onDismissMainSecurityShieldBottomSheet() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it possible that isChangingMainSecurityShieldInProgress = false
could be inside onDismissMainSecurityShieldBottomSheet()
. On that way you could save one less state update.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅
accountsCount = item.shieldForDisplay.numberOfLinkedAccounts.toInt(), | ||
personasCount = item.shieldForDisplay.numberOfLinkedPersonas.toInt(), | ||
hasAnyHiddenEntities = item.shieldForDisplay.numberOfLinkedHiddenAccounts.toInt() != 0 || | ||
item.shieldForDisplay.numberOfLinkedHiddenPersonas.toInt() != 0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You could create some computed properties in the SecurityShieldCard
for all these.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job!
|
Description
This PR adds a list of security shields to the “Security Shields” screen. Each Security Shield card currently contains the following information:
Other operations in the screen:
What is missing (future task):
How to test
Video
here
PR submission checklist