kvdroid / Kvdroid

Some Pyjnius tools for Kivy-Android developments.
MIT License
101 stars 24 forks source link

error in Readme about dark_mode #43

Closed antorix closed 1 year ago

antorix commented 1 year ago

In Readme:

To check if device is in dark mode or not from kvdroid.tools.darkmode import dark_mode print(dark_mode)

It's an error in the last line. dark_mode is a function that returns True or False. Hence, it should be:

print(dark_mode())

yunus-ceyhan commented 1 year ago

Fixed. thanks for reporting.

antorix commented 1 year ago

and the same here: https://pypi.org/project/kvdroid/

yunus-ceyhan commented 1 year ago

and the same here: https://pypi.org/project/kvdroid/

I'll fix it when I make a new pypi release. Thanks again.

antorix commented 1 year ago

and the same here: https://pypi.org/project/kvdroid/

I'll fix it when I make a new pypi release. Thanks again.

it's the same with device_lang. Maybe you can check other functions too