refactor(gui): _async_refresh_preview 闭包内联到 periodic_refreshers (398 → 396)
This commit is contained in:
1 parent
da5e000006
commit
6cebed599d
2 files changed
+5
-6
No files matched your search
+2
-4
@@ -368,13 +368,11 @@ def main():
|
||||
|
||||
pump_logs()
|
||||
|
||||
def _async_refresh_preview() -> None:
|
||||
_async_refresh_preview_impl(_preview_view)
|
||||
|
||||
setup_periodic_refreshers(
|
||||
root,
|
||||
image_var=image_var,
|
||||
async_refresh_preview=_async_refresh_preview,
|
||||
async_refresh_preview_impl=_async_refresh_preview_impl,
|
||||
preview_view=_preview_view,
|
||||
refresh_stats=refresh_stats,
|
||||
refresh_reservations=refresh_reservations,
|
||||
refresh_high_value_rooms=refresh_high_value_rooms,
|
||||
|
||||
Reference in new issue
Block a user