Skip to content

Commit 39dc5d7

Browse files
authored
Fixed button issue with deprecated group property
Fixed error: Warning: The group property is being deprecated. User code should be updated to add the Button directly to the Display or other Groups.
1 parent 890431b commit 39dc5d7

File tree

1 file changed

+1
-1
lines changed
  • PyPortal_NeoPixel_Color_Picker

1 file changed

+1
-1
lines changed

PyPortal_NeoPixel_Color_Picker/code.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
style=Button.SHADOWROUNDRECT,
6464
fill_color=spot['color'], outline_color=0x222222,
6565
name=spot['label'])
66-
pyportal.splash.append(button.group)
66+
pyportal.splash.append(button)
6767
buttons.append(button)
6868

6969
mode = 0

0 commit comments

Comments
 (0)