openCom-Companion/sbapp/kivymd/toast/__init__.py

12 lines
238 B
Python
Raw Normal View History

2022-07-07 22:16:10 +02:00
__all__ = ("toast",)
from kivy.utils import platform
if platform == "android":
try:
from .androidtoast import toast
except ModuleNotFoundError:
from .kivytoast import toast
else:
from .kivytoast import toast