Skip to content

Commit

Permalink
Removed comment
Browse files Browse the repository at this point in the history
  • Loading branch information
DHuckaby committed Oct 1, 2024
1 parent f2255b7 commit 28ae767
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/learnings/2024-08-25-dynamic-app-icons.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ The way we reference an activity-alias in code is via a class called [`Component

At a high level we need to be able to not only enable the currently disabled alias, but also disable the currently enabled alias. If we blindly switch the states it will work, but your application will close automatically every single time you do. If you only want it to happen the first time you need to take into account the original default state. So when enabling the default alias, you just need to set the state to default. Or when disabling the non-default alias, you just need to set the state to default.

I have compiled an [example project](https://github.com/DHuckaby/Chameleon) that does all of this that you can follow as a guide, or just copy/paste it like most do from StackOverflow. I don't mind either way, it is a pretty slick solution once it is in place. Given this is largely in uncharted territories, good luck if you ship it to production.
I have compiled an [example project](https://github.com/DHuckaby/Chameleon) that does all of this that you can follow as a guide, or just copy/paste it. I don't mind either way, it is a pretty slick solution once it is in place. Given this is largely in uncharted territories, good luck if you ship it to production.

#### Example project in action
<video controls="controls" id="video">
Expand Down

0 comments on commit 28ae767

Please sign in to comment.