Skip to content

Refactor LogoScreen: Add docstring, rename variable, and add state flag #728

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/seedsigner/views/screensaver.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@
# TODO: This early code is now outdated vis-a-vis Screen vs View distinctions
class LogoScreen(BaseScreen):
def __init__(self):
"""Initialize the logo display screen with the SeedSigner logo image path, partner logos, and active state."""
super().__init__()
self.logo = load_image("logo_black_240.png")
self.image_path = load_image("logo_black_240.png") # Renamed for consistency
self.is_active = False # Added state flag for UI pattern

self.partners = [
"hrf",
Expand Down