-
-
Notifications
You must be signed in to change notification settings - Fork 80
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
Rewrite PermissionsIntroPage to M3 #758
Merged
rfc2822
merged 9 commits into
main-ose
from
757-rewrite-permissionsintropage-to-m3-→-permissionsactivity
May 4, 2024
The head ref may contain hidden characters: "757-rewrite-permissionsintropage-to-m3-\u2192-permissionsactivity"
Merged
Rewrite PermissionsIntroPage to M3 #758
rfc2822
merged 9 commits into
main-ose
from
757-rewrite-permissionsintropage-to-m3-→-permissionsactivity
May 4, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 tasks
|
sunkup
requested changes
May 1, 2024
rfc2822
force-pushed
the
main-ose
branch
17 times, most recently
from
May 2, 2024 12:03
47ef18b
to
39f8f2e
Compare
Signed-off-by: Arnau Mora <arnyminerz@proton.me>
Signed-off-by: Arnau Mora <arnyminerz@proton.me>
Signed-off-by: Arnau Mora <arnyminerz@proton.me>
Signed-off-by: Arnau Mora <arnyminerz@proton.me>
Signed-off-by: Arnau Mora <arnyminerz@proton.me>
Signed-off-by: Arnau Mora <arnyminerz@proton.me>
rfc2822
force-pushed
the
757-rewrite-permissionsintropage-to-m3-→-permissionsactivity
branch
from
May 4, 2024 11:04
91a56f9
to
7836bd7
Compare
rfc2822
approved these changes
May 4, 2024
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 did a few final changes, most notably:
- Observe the lifecycle directly from the Composable, so that
onResume
works regardless of the Activity where the Screen was embedded from. It also means thatPermissionsActivity
doesn't need to create/pass the model. - M3 buttons are not
uppercase()
anymore, please always change that
rfc2822
deleted the
757-rewrite-permissionsintropage-to-m3-→-permissionsactivity
branch
May 4, 2024 11:46
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
(See #691)
Purpose
Update design of the
PermissionsIntroPage
intro page (andPermissionsActivity
) so that it uses M3.Note
BasicTopAppBar
still has to be migrated to M3. May be good to migrate it together with this PR since it basically has the same considerations asCardWithImage
.Short description
PermissionsCardContent
CardWithImage
.More intro pages will benefit from this change. May have effects on Rewrite DebugInfoActivity to M3 #744, however, I haven't seen any modifications here, and this is a smaller PR, so maybe we should merge this here.
PermissionsActivity.Model
to have private setters.Checklist