-
-
Notifications
You must be signed in to change notification settings - Fork 665
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
Cleanup after ETH contract flow #4343
Conversation
451cc55
to
0bd3796
Compare
|
|
In TS3 we don't use these crosses. |
Is the info about the size somewhere on TT? |
c726a95
to
c7343ee
Compare
What do you mean? |
Yes, it disappeared for a while, now it should be back.
Good catch! I'll look into that. |
a623611
to
3aef883
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.
LGTM.
- tested
stake
,approve
,transfer
,transfer
with unknown token and unknown contract withmodel_r
andmercury
model_r
the screen with "Warning, Unknown contract. Continue only if you know what you are doing" has only "Confirm" option and a user can cancel only on the next screen but that's probably not a part of this cleanup PR.
- notes from Hans seems to be fixed
- have one code-wise suggestion
- maybe @matejcik would like to take a look as well
- not sure if we merge with the marquee broken but I guess yes, I'd be happy to start rebasing my PRs on top of this
Yes, the goal of this was to fix the warning and the |
3aef883
to
fc54ad1
Compare
Commit c300576 introduced the `default_cancel` parameter to `show_warning` and `confirm_blob` rather using the already existing `flow_warning_hi_prio` which was doing the same thing. This commit reverts all the nonsense. [no changelog]
request_anim_frame will register a timer for RequestPaint, which will then cause a crash. This commit fixes the crash, but makes the marquee component not work. [no changelog]
Commit c300576 introduced `confirm_blob_with_optional_pagination` which proved to be unpopular and impractical. This commit brings back the old behaviour of having the `ask_pagination` parameter on `confirm_blob`. It also reverts back to using the old way of paginating `confirm_blob` on model R, which the aforementioned commit ignored and re-implemented from scratch. [no changelog]
313f806
to
69d448f
Compare
This PR fixes some of the mess caused by #4270
warning_hi_prio
instead of having that functionality duplicated intoconfirm_blob
confirm_blob_with_optional_pagination
is gone, and we are back to havingask_pagination
as a parameter onconfirm_blob
NB: This PR prevents the
Marquee
on model R from crashing, but it also makes it not scroll anymore.