Skip to content

Commit 5083afe

Browse files
committed
💥 fix: Critical - Fix page blocking and freezing issue
1 parent 16ec3a2 commit 5083afe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/ui/components/recording_card.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ async def update_card(self, recording):
280280
recording_card["card"].content.bgcolor = self.get_card_background_color(recording)
281281
recording_card["card"].content.border = ft.border.all(2, self.get_card_border_color(recording))
282282
try:
283-
recording_card["card"].update()
283+
self.app.page.update()
284284
except (ft.core.page.PageDisconnectedException, AssertionError) as e:
285285
logger.debug(f"Update card failed: {e}")
286286
return

0 commit comments

Comments
 (0)