Skip to content

Commit

Permalink
feat: add skeleton func set_results
Browse files Browse the repository at this point in the history
  • Loading branch information
kraanzu committed Jan 8, 2024
1 parent 45e2c5b commit 373610f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions termtyper/ui/screens/result.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from textual.app import ComposeResult
from textual.widgets import Label
from termtyper.src.stats_tracker import StatsTracker
from termtyper.ui.widgets import BaseWindow


Expand All @@ -11,3 +12,6 @@ class ResultScreen(BaseWindow):

def compose(self) -> ComposeResult:
yield Label("Result Screen")

def set_results(self, stats: StatsTracker):
self.stats = stats

0 comments on commit 373610f

Please sign in to comment.