fix(fex): show which preset Use Default resolves to (#2225)

* fix(fex): show which preset Use Default resolves to and rename FEX defaults to Stock FEX

* test(components): the FEX preset chip names its resolved preset instead of Use Default

* fix(fex): the game settings menu keeps Use Default beside the inherited preset

* fix(fex): inherited preset chip follows the current Default preset
This commit is contained in:
Kurt Himebauch authored and GitHub committed 2026-11-07 14:22:00 -05:00
1 parent 875f8e3ce2
commit ffb76240fd
5 files changed
+13 -8

No files matched your search

@@ -168,8 +168,8 @@ class ComponentsPageProfileTest {
compose.onNodeWithText(context.getString(R.string.gpu_system_powervr)).assertIsNotEnabled()
compose.onNodeWithText(context.getString(R.string.cmgr_powervr_dxvk_managed)).assertExists()
val inheritedChoices = compose.onAllNodesWithText(context.getString(R.string.comp_game_use_general))
inheritedChoices.assertCountEquals(4) // FEX preset, FEX package, Proton and VKD3D remain selectable.
repeat(4) { inheritedChoices[it].assertIsEnabled() }
inheritedChoices.assertCountEquals(3) // FEX package, Proton and VKD3D remain selectable.
repeat(3) { inheritedChoices[it].assertIsEnabled() }
val runtimeOptions = compose.onAllNodesWithText(context.getString(R.string.comp_game_runtime_options))
runtimeOptions.assertCountEquals(2)
repeat(2) { runtimeOptions[it].assertIsEnabled() }