-
Notifications
You must be signed in to change notification settings - Fork 9
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-1547] Ledger signing++ #549
Conversation
.toolbar { | ||
ToolbarItemGroup(placement: .keyboard) { | ||
Spacer() | ||
|
||
Button(L10n.Common.done) { | ||
focused = false | ||
} | ||
} | ||
} |
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.
This should display a "Done" button right above the keyboard, but it does not seem to work right now, many are experiencing this in iOS 16. Seems like a SwiftUI bug.
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.
Buttons in toolbar (even keyboard) are only visible if the view is wrapped in a NavigationView
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.
OK, I will have a look at that.
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.
Btw I believe we should not use ANY "Common" strings at all. But so "common.done" ought to be split like you did "common.continue". But that can be a separate PR
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.
Don't worry, I did try wrapping in a navigation view, at various levels, and it still didn't work, so nobody will see this for a while...
...ldren/Factors/SignWithFactorSourcesOfKindLedger/SignWithFactorSourcesOfKindLedger+View.swift
Show resolved
Hide resolved
Sources/Features/TransactionReviewFeature/TransactionReview.swift
Outdated
Show resolved
Hide resolved
|
||
default: | ||
return .none | ||
} | ||
} | ||
|
||
private func cancelSigningEffect(state: inout State) -> EffectTask<Action> { | ||
// FIXME: How to cancel? |
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.
nil state.destination
... I think should be enought.
Sources/Features/AssetsFeature/Components/FungibleAssetList/Components/Row/Row+View.swift
Show resolved
Hide resolved
Sources/Features/CreateAccount/Children/NameAccount/NameAccount+View.swift
Outdated
Show resolved
Hide resolved
...ldren/Factors/SignWithFactorSourcesOfKindDevice/SignWithFactorSourcesOfKindDevice+View.swift
Outdated
Show resolved
Hide resolved
...ldren/Factors/SignWithFactorSourcesOfKindLedger/SignWithFactorSourcesOfKindLedger+View.swift
Show resolved
Hide resolved
Sources/Features/TransactionReviewFeature/TransactionReview.swift
Outdated
Show resolved
Hide resolved
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! LGTM!
Jira ticket: ABW-1547
Description
Fixes Request signing with Ledger, and a number of other issues around the app, mostly in Asset Transfer and Transaction Review.
Note that cancellation of requests is not yet implemented.
What to check:
These are the main things that have changed in the UI:
Create New Account
Link New Connector
Link New Connector cancel button didn't work
Name New Connector had no title
Name Your Ledger
Centered textfield
Action button was too small and had too much bottom space
Create account with ledger
Sign transaction screen
Add New Gateway
Close button scrolled
Action button was not tied to keyboard
Fungible Assets
Strange appearance
Bottom of list was outside screen (also for NFTs)
Non-fungible assets
In the list, individual NFTs without a keyImage had a gray bar, this is fixed now, they have nothing
Expansion animation was not using easeInOut
Check boxes were always visible
Asset transfer
Video
New creating Ledger account flow:
RPReplay_Final1685960061.MP4
PR submission checklist