diff options
Diffstat (limited to 'lua/settings.lua')
| -rw-r--r-- | lua/settings.lua | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/lua/settings.lua b/lua/settings.lua index ae9a6e6d..654ae62c 100644 --- a/lua/settings.lua +++ b/lua/settings.lua @@ -102,7 +102,7 @@ local BluetoothSettings = SettingsScreen:new { text = "", pad_bottom = 1, } - theme.set_style(paired_label, "settings_title") + theme.set_subject(paired_label, "settings_title") self.bindings = self.bindings + { bluetooth.connecting:bind(function(conn) @@ -152,7 +152,7 @@ local BluetoothSettings = SettingsScreen:new { end), } - theme.set_style(self.content:Label { + theme.set_subject(self.content:Label { text = "Known Devices", pad_bottom = 1, }, "settings_title") @@ -206,7 +206,7 @@ local HeadphonesSettings = SettingsScreen:new { create_ui = function(self) SettingsScreen.create_ui(self) - theme.set_style(self.content:Label { + theme.set_subject(self.content:Label { text = "Maxiumum volume limit", }, "settings_title") @@ -221,7 +221,7 @@ local HeadphonesSettings = SettingsScreen:new { volume.limit_db:set(limits[selection]) end) - theme.set_style(self.content:Label { + theme.set_subject(self.content:Label { text = "Left/Right balance", }, "settings_title") @@ -282,7 +282,7 @@ local DisplaySettings = SettingsScreen:new { } brightness_title:Label { text = "Brightness", flex_grow = 1 } local brightness_pct = brightness_title:Label {} - theme.set_style(brightness_pct, "settings_title") + theme.set_subject(brightness_pct, "settings_title") local brightness = self.content:Slider { w = lvgl.PCT(100), @@ -306,7 +306,7 @@ local ThemeSettings = SettingsScreen:new { create_ui = function(self) SettingsScreen.create_ui(self) - theme.set_style(self.content:Label { + theme.set_subject(self.content:Label { text = "Theme", }, "settings_title") @@ -365,7 +365,7 @@ local InputSettings = SettingsScreen:new { create_ui = function(self) SettingsScreen.create_ui(self) - theme.set_style(self.content:Label { + theme.set_subject(self.content:Label { text = "Control scheme", }, "settings_title") @@ -403,7 +403,7 @@ local InputSettings = SettingsScreen:new { controls.scheme:set(scheme) end) - theme.set_style(self.content:Label { + theme.set_subject(self.content:Label { text = "Scroll Sensitivity", }, "settings_title") @@ -761,7 +761,7 @@ local RegulatoryScreen = SettingsScreen:new { pad_top = 4, pad_column = 4, } - theme.set_style(logo_container, "regulatory_icons") + theme.set_subject(logo_container, "regulatory_icons") button_container:add_style(styles.list_item) logo_container:Image { src = "//lua/img/ce.png" } @@ -785,7 +785,7 @@ return widgets.MenuScreen:new { text = name, pad_left = 4, } - theme.set_style(elem, "settings_title") + theme.set_subject(elem, "settings_title") end local function submenu(name, class) |
