mirror of
https://github.com/markqvist/Sideband.git
synced 2026-11-20 06:56:22 -05:00
15 lines
329 B
Python
Executable file
15 lines
329 B
Python
Executable file
__all__ = ("toast",)
|
|
|
|
from kivy.utils import platform
|
|
|
|
use_native_toast = False
|
|
|
|
if platform == "android":
|
|
if use_native_toast:
|
|
try: from .androidtoast import toast
|
|
except ModuleNotFoundError: from .kivytoast import toast
|
|
else:
|
|
from .kivytoast import toast
|
|
|
|
else:
|
|
from .kivytoast import toast
|