Skip to content

Commit dc7ecff

Browse files
committed
Fix OutlinedLabel deprecation error
1 parent c30a111 commit dc7ecff

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

adafruit_portalbase/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
from adafruit_bitmap_font import bitmap_font
2929
from adafruit_display_text import wrap_text_to_lines
3030
from adafruit_display_text.bitmap_label import Label
31-
from adafruit_display_text.outlined_label import OutlinedLabel
3231

3332
__version__ = "0.0.0+auto.0"
3433
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_PortalBase.git"
@@ -291,7 +290,7 @@ def set_text(self, val, index=0): # noqa: PLR0912 Too many branches
291290
scale=self._text[index]["scale"],
292291
)
293292
else:
294-
self._text[index]["label"] = OutlinedLabel(
293+
self._text[index]["label"] = Label(
295294
self._fonts[self._text[index]["font"]],
296295
text=string,
297296
scale=self._text[index]["scale"],

0 commit comments

Comments
 (0)