globalforest/kivymd/toast/__init__.py

12 lines
232 B
Python
Raw Normal View History

2020-10-14 00:19:43 -04:00
__all__ = ("toast",)
from kivy.utils import platform
if platform == "android":
try:
from .androidtoast import toast
except BaseException:
from .kivytoast import toast
else:
from .kivytoast import toast