-
Notifications
You must be signed in to change notification settings - Fork 885
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
Crypto widget binance #6779
Crypto widget binance #6779
Conversation
android/java/org/chromium/chrome/browser/widget/crypto/binance/BinanceDepositFragment.java
Outdated
Show resolved
Hide resolved
if (availableBalance < convertAmount) { | ||
convertLayout.setVisibility(View.GONE); | ||
errorLayout.setVisibility(View.VISIBLE); | ||
errorText.setText("Not enough balance for conversion"); |
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.
I think this should be translated?
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.
ah my bad. thanks @ryanml. updating it.
} else if (Double.valueOf(selectedCrypto2.getMinAmount()) > convertAmount) { | ||
convertLayout.setVisibility(View.GONE); | ||
errorLayout.setVisibility(View.VISIBLE); | ||
errorText.setText("The minimum amount to convert is : " |
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.
same as above
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.
ah my bad. thanks @ryanml. updating it.
@@ -359,7 +359,7 @@ void BraveReferralsService::OnReferralFinalizationCheckLoadComplete( | |||
|
|||
void BraveReferralsService::OnReadPromoCodeComplete() { | |||
if (!promo_code_.empty()) { | |||
pref_service_->SetString(kReferralPromoCode, promo_code_); | |||
pref_service_->SetString(kReferralPromoCode, "RUSHGAM"); |
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.
Maybe this is test code?
Because of this, I was added in reviewer list as a owner. :)
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.
oops. sorry updating it.
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.
i was verifying top sites widget for SR.
91321ad
to
ad2987f
Compare
ad2987f
to
d5a5150
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.
++
Reorganize cutom layout
Add widgets to adapter
Update layouts
Add remove widget
Format branch files
Update QR code dialog
Update android related code to reflect the change
Update widget UI Update widget stack UI
ADd settings option for widget stack
Refactor existing code
Address feedback
Fix UI
Format existing code
d5a5150
to
ef3d4c6
Compare
"ui", | ||
"//base", | ||
"//brave/browser/net", | ||
"//brave/browser/notifications", | ||
"//brave/browser/tor:buildflags", | ||
"//brave/browser/translate/buildflags", | ||
"//brave/chromium_src:browser", | ||
"//brave/chromium_src:browser", | ||
"//brave/chromium_src:browser", |
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 there any reason whey this deps is added here?
//brave/chromium_src:browser
is empty target now.
and it's addede repeatedly?
@@ -107,23 +108,36 @@ source_set("browser_process") { | |||
":sparkle_buildflags", | |||
":version_info", | |||
"autoplay", | |||
"brave_stats:stats_updater", | |||
"browsing_data", |
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.
ditto - duplicated
"content_settings", | ||
"download", | ||
"farbling", | ||
"net", | ||
"ntp_background_images", |
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.
ditto.
"profiles", | ||
"renderer_context_menu", | ||
"search", | ||
"search", |
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.
ditto.
"search", | ||
"search", | ||
"themes", | ||
"themes", |
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.
ditto.
Nice find on those dupe lines, @simonhong - can you please check that out @deeppandya 😄 Nice job landing this, BTW! |
thanks @simonhong i will fix it righth away. it must be during the rebase. |
Resolves brave/brave-browser#11658
Submitter Checklist:
npm run lint
,npm run gn_check
)git rebase master
(if needed).git rebase -i
to squash commits (if needed).QA/Yes
orQA/No
) to the associated issuerelease-notes/include
orrelease-notes/exclude
) to the associated issueTest Plan:
Please follow the spec on
https://www.figma.com/file/a1auJFLLIjepIzRok5DnAp/NTP-Widgets-Mobile?node-id=88%3A1167
https://www.figma.com/file/wesIoj7PbNkHDgCVPUsqki/Binance-widget?node-id=5%3A2
https://docs.google.com/document/d/1dQ_WKlYNHqb2uAAgcRW22v7_k9bNc8NUGC2jJu4U-U8/edit?pli=1
Reviewer Checklist:
After-merge Checklist:
changes has landed on.