mirror of
https://github.com/ThisIsBenny/iOS-Widgets.git
synced 2025-06-05 21:17:40 +00:00
parent
32fb70ff47
commit
7e0fc367c4
1 changed files with 1 additions and 2 deletions
|
@ -428,9 +428,8 @@ function getDiagram(percentage, isFlat, widgetType) {
|
|||
)
|
||||
canvas.setTextAlignedCenter()
|
||||
canvas.setTextColor(textColor)
|
||||
canvas.setFont(Font.boldSystemFont(canvTextSize))
|
||||
canvas.setFont(Font.boldSystemFont(108))
|
||||
if (isFlat === true) {
|
||||
canvas.setFont(Font.boldSystemFont(108))
|
||||
const infinitySize = canvSize / 2;
|
||||
canvas.setFont(Font.boldSystemFont(infinitySize));
|
||||
if (widgetType === "small" || "medium" || "large" || "extraLarge") {
|
||||
|
|
Loading…
Add table
Reference in a new issue