Skip to content

Commit 518cefe

Browse files
ISSUE #1597: Fix weekly stats and goals do not line up in the last week of the year
1 parent 81abbc0 commit 518cefe

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/Infrastructure/Console/ProgressBar.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ public function __construct(
1717
) {
1818
SymfonyProgressBar::setPlaceholderFormatterDefinition(
1919
'message',
20-
function (SymfonyProgressBar $progressBar): string {
21-
return sprintf(' - %s', $progressBar->getMessage());
22-
}
20+
fn (SymfonyProgressBar $progressBar): string => sprintf(' - %s', $progressBar->getMessage())
2321
);
2422

2523
$this->progressBar = new SymfonyProgressBar($output, $maxSteps);

templates/html/activity/activity--sport-type--generic.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
{% for imagePath in activity.getLocalImagePaths() %}
9999
<div class="h-[130px] shrink-0">
100100
<img class="h-full object-cover object-top rounded-lg lazy"
101-
src="{{ placeholderImage() }}" data-src="{{ imagePath }}"
101+
src="{{ placeholderImage() }}" data-src="{{ relativeUrl(imagePath) }}"
102102
alt="Activity image"/>
103103
</div>
104104
{% endfor %}

0 commit comments

Comments
 (0)