Fix for when running screenshot generation for multiple locales

This commit is contained in:
kdmukai
2024-12-06 15:21:57 -06:00
parent 425acfb886
commit fcacbbb304
+6
View File
@@ -67,6 +67,12 @@ class OpeningSplashScreen(LogoScreen):
from seedsigner.controller import Controller
controller = Controller.get_instance()
# TODO: Fix for the screenshot generator. When generating screenshots for
# multiple locales, there is a button still in the canvas from the previous
# screenshot, even though the Renderer has been reconfigured and re-
# instantiated. This is a hack to clear the screen for now.
self.clear_screen()
show_partner_logos = Settings.get_instance().get_value(SettingsConstants.SETTING__PARTNER_LOGOS) == SettingsConstants.OPTION__ENABLED
if self.force_partner_logos is not None:
show_partner_logos = self.force_partner_logos