Skip to content

Commit

Permalink
fixing wrong logic for retrieving plays stats for custom dates. updat…
Browse files Browse the repository at this point in the history
…ing macos hosted agent to 13 (#261)
  • Loading branch information
mkieres authored Apr 29, 2024
1 parent 9a0e1e4 commit e031534
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion board_games_companion/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -283,4 +283,4 @@ SPEC CHECKSUMS:

PODFILE CHECKSUM: 84b7f0ad7428cb894ad73bf70c77827d7438b18a

COCOAPODS: 1.14.3
COCOAPODS: 1.15.2
4 changes: 3 additions & 1 deletion board_games_companion/lib/pages/plays/plays_view_model.dart
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,9 @@ abstract class _PlaysViewModel with Store {
}

final boardGamePlaythroughsInPeriod = historicalPlaythroughs
.where((hp) => hp.boardGamePlaythroughs.playthrough.endDate! >= timePeriodFrom)
.where((hp) =>
hp.boardGamePlaythroughs.playthrough.endDate! >= timePeriodFrom &&
hp.boardGamePlaythroughs.playthrough.endDate! <= timePeriodTo)
.map((hp) => hp.boardGamePlaythroughs)
.toList();
if (boardGamePlaythroughsInPeriod.isEmpty) {
Expand Down
2 changes: 1 addition & 1 deletion pipelines/mobile_app/deploy-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ stages:
condition: or(eq('${{ parameters.publishIOS }}', 'true'), in(variables['Build.Reason'], 'BatchedCI', 'IndividualCI'))
timeoutInMinutes: 30
pool:
vmImage: "macOS-12"
vmImage: "macOS-13"

steps:
- task: FlutterInstall@0
Expand Down

0 comments on commit e031534

Please sign in to comment.