openCom-Companion/sbapp/kivymd/toast/__init__.py
2022-07-07 22:16:10 +02:00

12 lines
238 B
Python
Executable File

__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