mirror of
https://github.com/ThisIsBenny/iOS-Widgets.git
synced 2025-06-07 05:57:41 +00:00
use thin font
Signed-off-by: Benny Samir Hierl <bennysamir@posteo.de>
This commit is contained in:
parent
ccd52633d5
commit
340a79107a
2 changed files with 5 additions and 3 deletions
|
@ -304,7 +304,7 @@ if (!orderDetails) {
|
||||||
if (itemStatusTracker['d']['currentStatus']) {
|
if (itemStatusTracker['d']['currentStatus']) {
|
||||||
const statusText = progressStack.addText(`STATUS: ${itemStatusTracker['d']['currentStatus']}`)
|
const statusText = progressStack.addText(`STATUS: ${itemStatusTracker['d']['currentStatus']}`)
|
||||||
statusText.textColor = Color.black()
|
statusText.textColor = Color.black()
|
||||||
statusText.font = Font.regularSystemFont(8)
|
statusText.font = Font.thinSystemFont(8)
|
||||||
}
|
}
|
||||||
|
|
||||||
progressStack.addImage(creatProgress(total, daysGone))
|
progressStack.addImage(creatProgress(total, daysGone))
|
||||||
|
@ -314,14 +314,14 @@ if (!orderDetails) {
|
||||||
|
|
||||||
const orderDateText = footerStack.addText(orderDate.toLocaleDateString())
|
const orderDateText = footerStack.addText(orderDate.toLocaleDateString())
|
||||||
orderDateText.textColor = Color.black()
|
orderDateText.textColor = Color.black()
|
||||||
orderDateText.font = Font.regularSystemFont(8)
|
orderDateText.font = Font.thinSystemFont(8)
|
||||||
orderDateText.lineLimit = 1
|
orderDateText.lineLimit = 1
|
||||||
|
|
||||||
footerStack.addSpacer()
|
footerStack.addSpacer()
|
||||||
|
|
||||||
const deliveryDateText = footerStack.addText(deliveryDate.toLocaleDateString())
|
const deliveryDateText = footerStack.addText(deliveryDate.toLocaleDateString())
|
||||||
deliveryDateText.textColor = Color.black()
|
deliveryDateText.textColor = Color.black()
|
||||||
deliveryDateText.font = Font.regularSystemFont(8)
|
deliveryDateText.font = Font.thinSystemFont(8)
|
||||||
deliveryDateText.lineLimit = 1
|
deliveryDateText.lineLimit = 1
|
||||||
} else {
|
} else {
|
||||||
widget.addSpacer()
|
widget.addSpacer()
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
1.0.6
|
||||||
|
- Show status
|
||||||
1.0.5
|
1.0.5
|
||||||
- Fix 'out for delivery' issue
|
- Fix 'out for delivery' issue
|
||||||
1.0.4
|
1.0.4
|
||||||
|
|
Loading…
Add table
Reference in a new issue