Skip to content

Commit e71dc87

Browse files
committed
Update colors before on_start
1 parent 51c099c commit e71dc87

File tree

64 files changed

+7
-110
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+7
-110
lines changed

examples/bottomappbar.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,6 @@ async def generate_card():
172172
}
173173
)
174174

175-
super().on_start()
176175
self.on_tap_card()
177176
fake = Faker()
178177
Clock.schedule_once(lambda x: asynckivy.start(generate_card()))

examples/button.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,6 @@ def disabled_widgets(self):
191191
button.disabled = not button.disabled
192192

193193
def on_start(self):
194-
super().on_start()
195194
styles = ["standard", "filled", "outlined", "tonal"]
196195
color_disabled = [
197196
0.4627450980392157,

examples/card.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ def build(self):
4545
return Builder.load_string(KV)
4646

4747
def on_start(self):
48-
super().on_start()
4948
color_disabled = [
5049
0.4627450980392157,
5150
0.47058823529411764,

examples/checkbox.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ def build(self):
1111
return Builder.load_string(KV)
1212

1313
def on_start(self):
14-
super().on_start()
1514
self.root.ids.widget_box.add_widget(MDCheckbox())
1615
self.root.ids.custom_widget_box.add_widget(
1716
MDCheckbox(

examples/chip.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ def build(self):
1212
return Builder.load_string(KV)
1313

1414
def on_start(self):
15-
super().on_start()
1615
for chip_type in ["assist", "input", "suggestion", "filter"]:
1716
self.root.ids.widget_box.add_widget(
1817
MDChip(

examples/dynamic_color_image.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ def generate_cards(self, *args):
8484
)
8585

8686
def on_start(self):
87-
super().on_start()
8887
Clock.schedule_once(self.generate_cards)
8988

9089

examples/dynamic_color_schemes.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ def build(self):
5757
return Builder.load_string(KV)
5858

5959
def on_start(self):
60-
super().on_start()
6160
parent_widget = self.root.ids.widget_box.parent.parent
6261
parent_widget.clear_widgets()
6362
self.container = Container()

examples/expansionpanel.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ async def set_panel_list():
105105
await asynckivy.sleep(0)
106106
self.root.ids.container.add_widget(ExpansionPanelItem())
107107

108-
super().on_start()
109108
asynckivy.start(set_panel_list())
110109

111110
def build(self):

examples/label.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ def create_widgets(self):
6161
)
6262

6363
def on_start(self):
64-
super().on_start()
6564
self.create_widgets()
6665

6766

examples/list.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ def on_tap_list_item(self, list_item: MDListItem):
2424
print("on_tap_list_item")
2525

2626
def on_start(self):
27-
super().on_start()
2827
self.root.ids.widget_box.orientation = "vertical"
2928
self.root.ids.widget_box.add_widget(
3029
MDListItem(

0 commit comments

Comments
 (0)