Fixes error when checking the preference

This commit is contained in:
Matteo Biscosi 2025-05-28 15:54:07 +02:00
parent 2e43158ec9
commit 66c9728468
2 changed files with 2 additions and 4 deletions

View file

@ -1678,8 +1678,7 @@ if auth.has_capability(auth.capabilities.preferences) then
local split_ts_direction_labels = { i18n("total"), i18n("prefs.rx_tx") }
local split_ts_direction_values = { "total", "rx_tx" }
tprint(prefs.split_ts_direction)
retVal = multipleTableButtonPrefs(subpage_active.entries["toggle_split_ts_direction"].title,
subpage_active.entries["toggle_split_ts_direction"].description, split_ts_direction_labels, split_ts_direction_values,
"total", "primary", "split_ts_direction",