Add missing negation

This commit is contained in:
MajorTanya 2024-12-05 17:17:18 +01:00
parent 27099b77d3
commit 7661a9eea8
No known key found for this signature in database
GPG Key ID: 5F5A422B2B40CAA1

View File

@ -342,7 +342,7 @@ object SettingsAdvancedScreen : SearchableSettings {
subtitleProvider = { value, options ->
stringResource(MR.strings.pref_hardware_bitmap_threshold_summary, options[value].orEmpty())
},
enabled = ImageUtil.HARDWARE_BITMAP_UNSUPPORTED ||
enabled = !ImageUtil.HARDWARE_BITMAP_UNSUPPORTED ||
GLUtil.DEVICE_TEXTURE_LIMIT > GLUtil.SAFE_TEXTURE_LIMIT,
entries = GLUtil.CUSTOM_TEXTURE_LIMIT_OPTIONS
.mapIndexed { index, option ->