mirror of
https://github.com/ThisIsBenny/iOS-Widgets.git
synced 2025-06-07 05:57:41 +00:00
Update VodafoneDE.js
This commit is contained in:
parent
9d9f826d62
commit
d196dc99df
1 changed files with 1 additions and 1 deletions
|
@ -429,8 +429,8 @@ function getDiagram(percentage, isFlat) {
|
||||||
canvas.setTextAlignedCenter()
|
canvas.setTextAlignedCenter()
|
||||||
canvas.setTextColor(textColor)
|
canvas.setTextColor(textColor)
|
||||||
canvas.setFont(Font.boldSystemFont(canvTextSize))
|
canvas.setFont(Font.boldSystemFont(canvTextSize))
|
||||||
const infinitySize = canvSize / 2;
|
|
||||||
if (isFlat === true) {
|
if (isFlat === true) {
|
||||||
|
const infinitySize = canvSize / 2;
|
||||||
canvas.setFont(Font.boldSystemFont(infinitySize));
|
canvas.setFont(Font.boldSystemFont(infinitySize));
|
||||||
if (config.widgetFamily === "small" || "medium" || "large" || "extraLarge") {
|
if (config.widgetFamily === "small" || "medium" || "large" || "extraLarge") {
|
||||||
const textRect = new Rect(0, infinitySize / 3, canvSize, canvSize);
|
const textRect = new Rect(0, infinitySize / 3, canvSize, canvSize);
|
||||||
|
|
Loading…
Add table
Reference in a new issue