From 9aaaada70fd05ae519ab75132d419e72f2a02edf Mon Sep 17 00:00:00 2001 From: kdmukai Date: Sat, 19 Feb 2022 07:03:52 -0600 Subject: [PATCH] Update controller.py --- src/seedsigner/controller.py | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/src/seedsigner/controller.py b/src/seedsigner/controller.py index 89c01238..0c42598a 100644 --- a/src/seedsigner/controller.py +++ b/src/seedsigner/controller.py @@ -1,5 +1,6 @@ from embit.psbt import PSBT from seedsigner.gui.renderer import Renderer +from seedsigner.gui.screens.screen import WarningScreen from seedsigner.helpers.buttons import Buttons from seedsigner.views.screensaver import ScreensaverView @@ -132,9 +133,15 @@ class Controller(Singleton): def start(self) -> None: from .views import View, Destination, OpeningSplashView, MainMenuView, BackStackView - # Disabled to save some time during dev... - # opening_splash = OpeningSplashView() - # opening_splash.start() + opening_splash = OpeningSplashView() + opening_splash.start() + + WarningScreen( + title="Warning", + warning_headline="Pre-Release Code", + warning_text="Do not use this with real funds or to create new secure keys!", + ).display() + """ Class references can be stored as variables in python! @@ -171,7 +178,7 @@ class Controller(Singleton): if next_destination.View_cls == MainMenuView: # Home always wipes the back_stack self.clear_back_stack() - + print(f"Executing {next_destination}") next_destination = next_destination.run()