fix: Wrong value

This commit is contained in:
Ahmad Ansori Palembani 2024-11-20 23:43:18 +07:00
parent fd73958923
commit 1f17965d24
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6

View file

@ -395,7 +395,7 @@ class SettingsAdvancedController : SettingsLegacyController() {
preferenceCategory { preferenceCategory {
titleRes = MR.strings.reader titleRes = MR.strings.reader
listPreference(activity) { intListPreference(activity) {
bindTo(basePreferences.hardwareBitmapThreshold()) bindTo(basePreferences.hardwareBitmapThreshold())
titleRes = MR.strings.pref_hardware_bitmap_threshold titleRes = MR.strings.pref_hardware_bitmap_threshold
@ -403,7 +403,7 @@ class SettingsAdvancedController : SettingsLegacyController() {
.associateWith { it.toString() } .associateWith { it.toString() }
.toImmutableMap() .toImmutableMap()
entries = entryMap.values.toList() entries = entryMap.values.toList()
entryValues = entryMap.keys.map { it.toString() }.toList() entryValues = entryMap.keys.toList()
isVisible = GLUtil.DEVICE_TEXTURE_LIMIT > GLUtil.SAFE_TEXTURE_LIMIT isVisible = GLUtil.DEVICE_TEXTURE_LIMIT > GLUtil.SAFE_TEXTURE_LIMIT