mirror of
https://github.com/ThisIsBenny/iOS-Widgets.git
synced 2025-06-07 05:57:41 +00:00
Merge branch 'main' of github.com:ThisIsBenny/iOS-Widgets into main
This commit is contained in:
commit
2e6a1d017d
1 changed files with 4 additions and 2 deletions
|
@ -3,9 +3,11 @@
|
||||||
// icon-color: red; icon-glyph: broadcast-tower;
|
// icon-color: red; icon-glyph: broadcast-tower;
|
||||||
|
|
||||||
/**************
|
/**************
|
||||||
Version 1.2.2
|
Version 1.2.3
|
||||||
|
|
||||||
Changelog:
|
Changelog:
|
||||||
|
v1.2.3:
|
||||||
|
- Fix typo (thanks @CuzImStantac)
|
||||||
v1.2.2:
|
v1.2.2:
|
||||||
- Fix remaining Day issue
|
- Fix remaining Day issue
|
||||||
v1.2.1:
|
v1.2.1:
|
||||||
|
@ -380,7 +382,7 @@ if (data !== undefined) {
|
||||||
if (data.endDate) {
|
if (data.endDate) {
|
||||||
widget.addSpacer(5)
|
widget.addSpacer(5)
|
||||||
let remainingDays = getTimeRemaining(data.endDate).days + 2
|
let remainingDays = getTimeRemaining(data.endDate).days + 2
|
||||||
let remainingDaysText = widget.addText(`${remainingDays} Tage verleibend`)
|
let remainingDaysText = widget.addText(`${remainingDays} Tage verbleibend`)
|
||||||
remainingDaysText.font = Font.mediumSystemFont(8)
|
remainingDaysText.font = Font.mediumSystemFont(8)
|
||||||
remainingDaysText.centerAlignText()
|
remainingDaysText.centerAlignText()
|
||||||
remainingDaysText.textColor = new Color(textColor)
|
remainingDaysText.textColor = new Color(textColor)
|
||||||
|
|
Loading…
Add table
Reference in a new issue