-
Notifications
You must be signed in to change notification settings - Fork 905
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
Show Bottomsheet when no notification permission #17002
Show Bottomsheet when no notification permission #17002
Conversation
aafcf73
to
09b14b7
Compare
@@ -0,0 +1,12 @@ | |||
<?xml version="1.0" encoding="utf-8"?> | |||
<!-- Copyright (c) 2022 The Brave Authors. All rights reserved. |
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.
nit : year
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.
updated
09b14b7
to
26371c7
Compare
26371c7
to
4739e08
Compare
8a3fa7b
to
d1734c2
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.
++
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
<include | ||
android:id="@+id/brave_rewards_panel_notification_layout_id" | ||
layout="@layout/brave_rewards_panel_notification_layout" /> | ||
|
||
|
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.
nit : new line should be removed here
@@ -48,6 +53,9 @@ | |||
app:srcCompat="@drawable/ic_close_12"/> | |||
|
|||
</FrameLayout> | |||
|
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.
nit : we should remove extra new lines here.
android:id="@+id/brave_rewards_notification_permission_id" | ||
layout="@layout/rewards_notification_permission_request" | ||
android:visibility="gone" | ||
/> |
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.
nit : remove new line
app:layout_constraintEnd_toEndOf="@+id/turnOnNotification" | ||
app:layout_constraintTop_toBottomOf="@+id/turnOnNotification" /> | ||
|
||
</androidx.constraintlayout.widget.ConstraintLayout> |
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.
nit : new line
app:layout_constraintVertical_chainStyle="packed" | ||
app:tint="@color/onboarding_text_color" /> | ||
|
||
</androidx.constraintlayout.widget.ConstraintLayout> |
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.
nit : new line
e8af162
to
d8ec29a
Compare
d8ec29a
to
5e6cdb9
Compare
5e6cdb9
to
3d2b5e3
Compare
Resolves brave/brave-browser#27795
Submitter Checklist:
QA/Yes
orQA/No
;release-notes/include
orrelease-notes/exclude
;OS/...
) to the associated issuenpm run test -- brave_browser_tests
,npm run test -- brave_unit_tests
wikinpm run lint
,npm run presubmit
wiki,npm run gn_check
,npm run tslint
git rebase master
(if needed)Reviewer Checklist:
gn
After-merge Checklist:
changes has landed on
Test Plan:
az_recorder_20230208_231325.mp4