Hello, I recently discovered this package and it works like a charm! Not sure if this is still actively maintained, but I discovered a bug where multiple copies of the button are created when I tried to dynamically create a toast in a function multiple times, for example
import time
def foo():
toast = Toast()
toast.setTitle("TITLE", maxLines=2)
toast.setMessage("MESSAGE", maxLines=2)
toast.addButton(
Button(content="Button", activationType=ACTION_TYPE_BACKGROUND,
arguments="", pendingUpdate=False))
toast.show()
for _ in range(3):
foo()
time.sleep(1)
This creates three toast no problem, but the second time it spawns with two buttons, and the third time three buttons.
Let me know if there is future plan of looking into this, thank you!
Hello, I recently discovered this package and it works like a charm! Not sure if this is still actively maintained, but I discovered a bug where multiple copies of the button are created when I tried to dynamically create a toast in a function multiple times, for example
This creates three toast no problem, but the second time it spawns with two buttons, and the third time three buttons.
Let me know if there is future plan of looking into this, thank you!