mirror of https://github.com/kivy/kivy.git
pep8
This commit is contained in:
parent
c66d8b5893
commit
75aa581e4b
|
@ -225,10 +225,9 @@ class MetricsBase(object):
|
|||
from jnius import autoclass
|
||||
if USE_SDL2:
|
||||
PythonActivity = autoclass('org.kivy.android.PythonActivity')
|
||||
config = PythonActivity.mActivity.getResources().getConfiguration()
|
||||
else:
|
||||
PythonActivity = autoclass('org.renpy.android.PythonActivity')
|
||||
config = PythonActivity.mActivity.getResources().getConfiguration()
|
||||
config = PythonActivity.mActivity.getResources().getConfiguration()
|
||||
return config.fontScale
|
||||
|
||||
return 1.0
|
||||
|
|
Loading…
Reference in New Issue