changeset 1372:19eb8b6c02d4

browser (album): remove loading screen at the end of the script
author Goffi <goffi@goffi.org>
date Fri, 27 Nov 2020 12:25:53 +0100
parents 08739952a18f
children 2938d1b65bd5
files libervia/pages/photos/album/_browser/__init__.py
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libervia/pages/photos/album/_browser/__init__.py	Fri Nov 27 12:25:25 2020 +0100
+++ b/libervia/pages/photos/album/_browser/__init__.py	Fri Nov 27 12:25:53 2020 +0100
@@ -9,6 +9,7 @@
 import alt_media_player
 # we use tmp_aio because `blob` is not handled in Brython's aio
 import tmp_aio
+import loading
 
 
 cache_path = window.cache_path
@@ -294,7 +295,11 @@
     manager = InvitationManager("photos", {"service": files_service, "path": files_path})
     manager.attach(affiliations=affiliations)
 
+
 # hint
 @bind("#hint .click_to_delete", "click")
 def remove_hint(evt):
     document['hint'].remove()
+
+
+loading.remove_loading_screen()