Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

Commit

Permalink
feat(live-feed): be appropriately vague on unhandled/negative countdowns
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Reed committed Sep 28, 2020
1 parent 9ff46a7 commit 60c5c69
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/app/live-feed/live-feed.page.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,18 @@ <h4>Season {{streamData.seasonNumber}} is over.</h4>
<ion-item lines="none" *ngIf="getWinner() && getWinner().fullName">
<h4>The <span [style]="'color: ' + getWinner().mainColor">{{getWinner().fullName}}</span> are the Champions!</h4>
</ion-item>
<ion-item lines="none">
<h4 *ngIf="countdown">Next Season Starts In:<br>{{getCountdown()}}.</h4>
<ion-item lines="none" *ngIf="countdown && countdown.diff >= 0">
<h4>Next Season Starts In:<br>{{getCountdown()}}.</h4>
</ion-item>
<ion-item lines="none" *ngIf="countdown && countdown.diff &lt; 0">
<h4>Next season starts in... uhh. <i>*tugs collar*</i> I mean. What <i>is</i> time, really?</h4>
</ion-item>
</span>
<span *ngIf="!isPostseasonComplete() && isPostseason()">
<ion-item lines="none">
<h4>Regular season is over.</h4>
</ion-item>
<ion-item lines="none" *ngIf="countdown && countdown.hours >= 0">
<ion-item lines="none" *ngIf="countdown && countdown.diff >= 0">
<h4>Postseason Starts In:<br>{{getCountdown()}}.</h4>
</ion-item>
</span>
Expand Down

0 comments on commit 60c5c69

Please sign in to comment.