Skip to content

Comments

Fix/modernize swift compatibility#34

Open
sudoShiba wants to merge 3 commits intomasterfrom
fix/modernize-swift-compatibility
Open

Fix/modernize swift compatibility#34
sudoShiba wants to merge 3 commits intomasterfrom
fix/modernize-swift-compatibility

Conversation

@sudoShiba
Copy link
Contributor

No description provided.

@sudoShiba sudoShiba requested a review from kwikenkwak February 16, 2026 15:37
@sudoShiba sudoShiba self-assigned this Feb 16, 2026
Comment on lines +272 to +279
#### Implementation Details

To add your own custom tag icons:
- Open your app's `Assets.xcassets`
- Add a new Image Set for each icon (e.g., "meeting", "personal")
- Add images to the image sets
- Use the **image set name as the tag name**
Tags are rendered in this order:
1. Check if a matching icon image exists in Assets
2. Check if the tag name is emoji-only
3. Display as a text label with color background

Tags without matching icons will be displayed as text tags with the event color.
Icon images are displayed without text, while text and emoji tags may include additional styling based on the event color.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hzo? Die moeten gewoon gerendered worden zoals de volgorde gegeven is. Hiermee kunnen we altijd later nog aanpassingen maken vanuit de native side

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ik snap niet echt wat je bedoelt, maar die checkt gwn als die string dat die krijgt onder Tags staat in Images.xcassets, dan checkt ie als het een emoji is (want emojis worden zonder achtergrond en een beetje groter gerendered). Anders wordt het op de normale manier gerenderd.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants