This repository was archived by the owner on Dec 8, 2025. It is now read-only.
Adding week count and label via parameter #77
Open
ParoTheParrot wants to merge 3 commits intoThisIsBenny:mainfrom
Open
Adding week count and label via parameter #77ParoTheParrot wants to merge 3 commits intoThisIsBenny:mainfrom
ParoTheParrot wants to merge 3 commits intoThisIsBenny:mainfrom
Conversation
ThisIsBenny
suggested changes
Sep 19, 2022
| de: ['Tag', 'Tage', 'Wochen'], | ||
| fr: ['Jour', 'Jours'], | ||
| es: ['día', 'días'], | ||
| it: ['giorno', 'giorni'] |
Owner
There was a problem hiding this comment.
Please add "Weeks" also to fr, es, and it.
| } | ||
| dateForCountdown = widgetInput[0].trim() | ||
| icon = widgetInput[1] || '⏳'; | ||
| text = widgetInput[3]; // new |
Owner
There was a problem hiding this comment.
Please make this "optional" to avoid breaking changes: Use "Countdown" as fallback value in case there is no text defined
Comment on lines
+103
to
+107
| let provider2 = widget.addText(remainingWeeks+ " " + (t[2])) | ||
| provider2.font = Font.mediumSystemFont(16) | ||
| provider2.textColor = textColor | ||
| provider2.centerAlignText() | ||
| textStack.addSpacer() |
Owner
There was a problem hiding this comment.
- please use a separated horizontal stack with a spacer at beginning and end, and not the one from the remaining days (textStack).
- Please make this part configurable, because maybe not everyone would like to see also the remaining weeks
Ceemeemack
approved these changes
Dec 22, 2022
This file contains hidden or 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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
No description provided.