Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
GregTrevellick committed Sep 30, 2018
1 parent a9ba9fa commit 7a255cd
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Src/FootieData.Vsix/Providers/ThreadedDataProvider.cs
Original file line number Diff line number Diff line change
@@ -18,6 +18,7 @@ public class ThreadedDataProvider : INotifyPropertyChanged
private readonly string _zeroFixturePasts = $"No results available for the past {CommonConstants.DaysCount} days";//TODO move to EntityConstants
private readonly string _zeroFixtureFutures = $"No fixtures available for the next {CommonConstants.DaysCount} days";//TODO move to EntityConstants
private const string RequestLimitReached = "You reached your request limit. W";
private const string UnavailableRefresh = "3rd party data unavailable, try a refresh";

public ThreadedDataProvider(ExternalLeagueCode externalLeagueCode)
{
@@ -74,7 +75,7 @@ public void FetchDataFromGateway(ExternalLeagueCode externalLeagueCode, GridType
{
iEnumerableStandings = new List<Standing>()
{
new Standing { Team = "abc gregt" }
new Standing { Team = UnavailableRefresh }
};
}
leagueParent.Standings.Clear();
@@ -105,7 +106,7 @@ public void FetchDataFromGateway(ExternalLeagueCode externalLeagueCode, GridType
{
iEnumerableFixturePasts = new List<FixturePast>()
{
new FixturePast { HomeName = "def gregt" }
new FixturePast { HomeName = UnavailableRefresh }
};
}
leagueParent.FixturePasts.Clear();
@@ -143,7 +144,7 @@ public void FetchDataFromGateway(ExternalLeagueCode externalLeagueCode, GridType
{
iEnumerableFixtureFutures = new List<FixtureFuture>()
{
new FixtureFuture { HomeName = "ghi gregt" }
new FixtureFuture { HomeName = UnavailableRefresh }
};
}
leagueParent.FixtureFutures.Clear();

0 comments on commit 7a255cd

Please sign in to comment.