[SettingsFragmentPresenter.kt] set RESOLUTION_FACTOR preference with RESOLUTION_FACTOR setting instead of GRAPHICS_API
Currently, the RESOLUTION_FACTOR preference is being set with the GRAPHICS_API key and default. Therefore, it will set/retrieve the wrong values This revision updates the RESOLUTION_FACTOR preference to use the RESOLUTION_FACTOR key and default value. As a result, RESOLUTION_FACTOR and GRAPHICS_API should store and return the correct (separate) values
This commit is contained in:
parent
95ae46f6a8
commit
e8c20fa782
@ -687,8 +687,8 @@ class SettingsFragmentPresenter(private val fragmentView: SettingsFragmentView)
|
||||
1,
|
||||
10,
|
||||
"x",
|
||||
IntSetting.GRAPHICS_API.key,
|
||||
IntSetting.GRAPHICS_API.defaultValue.toFloat()
|
||||
IntSetting.RESOLUTION_FACTOR.key,
|
||||
IntSetting.RESOLUTION_FACTOR.defaultValue.toFloat()
|
||||
)
|
||||
)
|
||||
add(
|
||||
|
Loading…
Reference in New Issue
Block a user