Skip to content
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

Limit complication visibility depending on slot #1228

Open
tungstenwarrior opened this issue Dec 18, 2024 · 1 comment
Open

Limit complication visibility depending on slot #1228

tungstenwarrior opened this issue Dec 18, 2024 · 1 comment

Comments

@tungstenwarrior
Copy link

Let's say I have two types of complications, ComplicationType.SHORT_TEXT and ComplicationType.LONG_TEXT. How can I hide the former on arc complication slots, and the latter for circular ones? This seems possible if you own the watch face, but I have been unable to determine the form factor of a complication slot from a ComplicationDataSourceService().

@garanj
Copy link
Contributor

garanj commented Dec 19, 2024

Hello. This is not possible: If an Arc Complication Slot on the watch face declares that it supports ComplicationType.SHORT_TEXT, then the complication data source needs to honor that. Similarly if a circular ComplicationSlot on a watch face declares that it supports ComplicationType.LONG_TEXT, then the data source must honor that.

Certainly in the latter case, choosing to support LONG_TEXT in a (small?) circular slot may be an inadvisable choice for the watch face, but that's a watch face problem, not a data source problem.

Are you encountering scenarios where your complications are not rendering well on given watch faces?

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

No branches or pull requests

3 participants