fix: the notch and indicator are now in same children

This commit is contained in:
sankalp committed 2026-07-21 14:47:18 +05:45
1 parent 0e805d24ec
commit ecd7061edc
1 file changed
+8 -3
+8 -3
View File
@@ -86,7 +86,6 @@ class ContentBox(CenterBox):
orientation="vertical",
v_expand=True,
start_children=[
IndicatorBox(),
DateTime(
formatters=["%A,%B %-d"],
interval=10000,
@@ -153,7 +152,13 @@ class LockScreen(Window):
anchor="center",
child=Box(
orientation="vertical",
children=[self.lock_notch, self.content],
children=[
CenterBox(
center_children=self.lock_notch,
end_children=IndicatorBox(),
),
self.content,
],
),
)
@@ -170,7 +175,7 @@ class LockScreen(Window):
name="lock-notch",
orientation="h",
h_align="center",
v_align="center",
v_align="start",
start_children=Box(
name="lock-notch-corner-left",
orientation="v",