feat: expose GetWords() on GameService for statistics screen
This commit is contained in:
parent
c4656a879e
commit
b607cd5594
1 changed files with 5 additions and 0 deletions
|
|
@ -160,4 +160,9 @@ public sealed class GameService
|
||||||
|
|
||||||
await _localStorage.SaveStatisticsAsync(_statistics);
|
await _localStorage.SaveStatisticsAsync(_statistics);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public IReadOnlyList<GameWord> GetWords()
|
||||||
|
{
|
||||||
|
return _statistics?.Words ?? [];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue