feat: add Apply to Lawnchair button - #3602
Conversation
Add a toolbar button that sends app.lawnchair.APPLY_ICONS intent to Lawnchair, allowing users to directly apply Lawnicons as their icon pack without navigating to Lawnchair settings. - Add Palette icon for the toolbar button - Add queries declaration for the intent (Android 11+) - Show snackbar if Lawnchair is not installed
4e58068 to
f33cf2c
Compare
|
Since you're forcing this issue, I need to redesign the toolbar, because 6 elements is too much. There are questions.
|
I agree the toolbar might be getting crowded. I haven't contributed to Lawnicons before — this PR was mainly to validate the For context, the flow is: user taps the button → Lawnchair receives the intent and shows a confirmation BottomSheet on its side → user confirms or dismisses. |
Yes, I have an idea, but if the whole feature is applicable not only for Lawnchair, then this should be taken into account. For example:
Also, speaking of other icon packs, if the refinement in Lawnchair leads to the pop-up being shown in other icon packs, then it's better to do the feature itself differently, so the refinement of Lawnicons may become different. |
Makes sense — a generic "Apply" entry that detects which launchers support it at runtime, shows a picker if multiple are available, and hides itself when none are installed. This would mean maintaining a list of supported launcher intents on the Lawnicons side, and each launcher needs to handle the intent on their end. Currently only Lawnchair supports this, but the approach would be extensible. Also, where would you suggest placing the entry? |
I was planning this revision to clean up the Lawnicons UI. It's not entirely about your improvement, but part of it is. |
Description
Add an "Apply to Lawnchair" button to the home toolbar, allowing users to directly apply Lawnicons as their icon pack in
Lawnchair without navigating to Lawnchair settings.
This is the Lawnicons-side implementation for [LawnchairLauncher/lawnchair#6594](https://github.com/LawnchairLauncher/
lawnchair/issues/6594). The Lawnchair-side implementation is at [LawnchairLauncher/lawnchair#6643](https://github.com/
LawnchairLauncher/lawnchair/pull/6643).